def event(self, event): if (self.bot.game == None): #Only activate when there's not a game on CommandsPlugin.event(self, event)