فهرست منبع

Merge branch 'master' of iramo94/rollbot3-ivan into master

kirkleon 6 سال پیش
والد
کامیت
4173f5c673
1فایلهای تغییر یافته به همراه0 افزوده شده و 3 حذف شده
  1. 0 3
      src/rollbot.py

+ 0 - 3
src/rollbot.py

@@ -80,9 +80,6 @@ class Rollbot:
             self.logger.warn(f"Message {message.message_id} had a command {message.command} that could not be run.")
             return RollbotResponse(message, failure=RollbotFailure.INVALID_COMMAND)
 
-        import random
-        plugin = random.choice(list(self.commands.values()))
-
         with self.session_factory() as session:
             response = plugin.on_command(session, message)