diff --git a/lib/discordrb/commands/command_bot.rb b/lib/discordrb/commands/command_bot.rb
index <HASH>..<HASH> 100644
--- a/lib/discordrb/commands/command_bot.rb
+++ b/lib/discordrb/commands/command_bot.rb
@@ -172,6 +172,7 @@ module Discordrb::Commands
     # @return [String, nil] the command's result, if there is any.
     def execute_command(name, event, arguments, chained = false)
       debug("Executing command #{name} with arguments #{arguments}")
+      return unless @commands
       command = @commands[name]
       unless command
         event.respond @attributes[:command_doesnt_exist_message].gsub('%command%', name.to_s) if @attributes[:command_doesnt_exist_message]
Do a nil check against a CommandBot's commands in execute_command