Hi im trying to set game state with the following.
if message.content.startswith('!!!game'):
await client.change_presence(game=discord.Game('Test'))
When I type !!!game in discord it throws this error.
File "zDBOT.py", line 21, in on_message
await client.change_presence(game=discord.Game("with your mum"))
TypeError: __init__() takes 1 positional argument but 2 were given
Any help would be appreciated.
it's
discord.Game(name="x") not discord.Game("x")
Thanks, that was quite obvious.
Can this issue be closed?
Yes. Thank you
Please close it, then.
Most helpful comment
Please close it, then.