mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
CI
This commit is contained in:
@@ -55,7 +55,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
/// <summary>
|
||||
/// Boolean to enable based mode (Will auto reply with 'based on the hardware thats installed in it' to anyone saying 'based on what')
|
||||
/// </summary>
|
||||
readonly bool BasedMode;
|
||||
readonly bool basedMode;
|
||||
|
||||
/// <summary>
|
||||
/// The <see cref="DiscordDMOutputDisplayType"/>.
|
||||
@@ -87,7 +87,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
|
||||
var csb = new DiscordConnectionStringBuilder(chatBot.ConnectionString);
|
||||
botToken = csb.BotToken;
|
||||
BasedMode = csb.BasedMode;
|
||||
basedMode = csb.BasedMode;
|
||||
outputDisplayType = csb.DMOutputDisplay;
|
||||
|
||||
client = new DiscordSocketClient();
|
||||
@@ -116,7 +116,7 @@ namespace Tgstation.Server.Host.Components.Chat.Providers
|
||||
void StartTyping() => typingState = e.Channel.EnterTypingState();
|
||||
try
|
||||
{
|
||||
if (BasedMode && e.Content.Equals("Based on what?", StringComparison.OrdinalIgnoreCase))
|
||||
if (basedMode && e.Content.Equals("Based on what?", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
StartTyping();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user