From db0f3c29879da7b1d5a829d6e1eecc5e31eee4e1 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Wed, 6 May 2020 17:35:33 +0100 Subject: [PATCH] Adds support to fetch the AllowFunds state from the bot (Required for commands) --- BSBshared/BotTypes/BasicBot.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BSBshared/BotTypes/BasicBot.cs b/BSBshared/BotTypes/BasicBot.cs index 377c3ee..6c8b183 100644 --- a/BSBshared/BotTypes/BasicBot.cs +++ b/BSBshared/BotTypes/BasicBot.cs @@ -23,6 +23,7 @@ namespace BetterSecondBotShared.bottypes public string MyVersion { get { return version; } } public string Name { get { return myconfig.userName; } } public string OwnerName { get { return myconfig.master; } } + public bool GetAllowFunds { get { return myconfig.AllowFunds; } } public string LastStatusMessage { get; set; } public bool KillMe { get { return killMe; } }