Use correct form for games
This commit is contained in:
parent
fc2c5b5e5f
commit
9e46f4c37c
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Stats:
|
||||||
if isinstance(act, discord.activity.Spotify):
|
if isinstance(act, discord.activity.Spotify):
|
||||||
embed.add_field(name="Listening to", value=user.title, inline=False)
|
embed.add_field(name="Listening to", value=user.title, inline=False)
|
||||||
elif isinstance(act, discord.activity.Game):
|
elif isinstance(act, discord.activity.Game):
|
||||||
embed.add_field(name='Playing', value=user.game, inline=False)
|
embed.add_field(name='Playing', value=act.name, inline=False)
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
@commands.group()
|
@commands.group()
|
||||||
|
|
Loading…
Reference in a new issue