viewing paste Unknown #29237 | Python

Posted on the
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'
 
Viewed 892 times, submitted by Guest.