diff --git a/DeukBot4/MessageHandlers/CommandHandler/CommandHandler.cs b/DeukBot4/MessageHandlers/CommandHandler/CommandHandler.cs index e78a461..c9ed185 100644 --- a/DeukBot4/MessageHandlers/CommandHandler/CommandHandler.cs +++ b/DeukBot4/MessageHandlers/CommandHandler/CommandHandler.cs @@ -38,6 +38,9 @@ namespace DeukBot4.MessageHandlers.CommandHandler public static async Task HandleMessage(SocketMessage message) { + if (string.IsNullOrWhiteSpace(message.Content)) + return; + if (message.Content[0] != CommandTrigger) return; var req = await CommandRequest.Create(message); var resultCode = req.Item2;