Added a setting for the initial value of the GambaSesh Discord bypass variable

This commit is contained in:
barelyprofessional
2025-03-02 16:43:49 +08:00
parent 64d7e38619
commit 1efa808f82
2 changed files with 15 additions and 1 deletions

View File

@@ -39,13 +39,15 @@ public class BotServices
internal bool IsChrisDjLive = false;
// lol
internal bool TemporarilyBypassGambaSeshForDiscord = false;
internal bool TemporarilyBypassGambaSeshForDiscord;
internal bool TemporarilySuppressGambaMessages = false;
public BotServices(ChatBot botInstance, CancellationToken ctx)
{
_chatBot = botInstance;
_cancellationToken = ctx;
TemporarilyBypassGambaSeshForDiscord =
Helpers.GetValue(BuiltIn.Keys.DiscordTemporarilyBypassGambaSeshInitialValue).Result.ToBoolean();
_logger.Info("Bot services ready to initialize!");
}