diff --git a/BetterSecondbot/DiscordSupervisor/Inbound.cs b/BetterSecondbot/DiscordSupervisor/Inbound.cs index 05ebe7d..84c6201 100644 --- a/BetterSecondbot/DiscordSupervisor/Inbound.cs +++ b/BetterSecondbot/DiscordSupervisor/Inbound.cs @@ -111,7 +111,7 @@ namespace BetterSecondBot.DiscordSupervisor { target = bits[2]; } - string args = null; + string args = ""; if (bits.Length >= 2) { args = bits[1]; diff --git a/Core/bottypes/CommandsBot.cs b/Core/bottypes/CommandsBot.cs index b6a360a..f5e5d2e 100644 --- a/Core/bottypes/CommandsBot.cs +++ b/Core/bottypes/CommandsBot.cs @@ -379,7 +379,7 @@ namespace BetterSecondBot.bottypes } CallAPI(command_args_split[0], args_passed.Split("~#~"),"None",true); } - return "{ status: \"true\", message: \"mixed reply cuistom command\" }"; + return "{ status: \"true\", message: \"mixed reply custom command\" }"; } KeyValuePair statusreply = callAPIcommand(command, args); SmartCommandReply(statusreply.Key, replyvia, statusreply.Value, command);