1 2 3 4 5 6 7 8 9 10 11 12 13 | async def on_message(message): if message.content.startswith('!lasteq'): await showLastEQ(client, message) elif message.content.startswith('!game'): gamename = message.content.split(' ', 1)[1] game = discord.Game(name=gamename) await client.change_status(game, idle=False) elif message.content.startswith('!eq'): admin = 'False' |