1
0
Fork 0
mirror of synced 2024-05-19 03:52:25 +12:00

Correct value sent when listenign to something

This commit is contained in:
phxntxm 2018-05-07 10:02:27 -05:00
parent 9e39888589
commit b9eb3eddac

View file

@ -124,7 +124,7 @@ class Stats:
# Add the activity if there is one
act = user.activity
if isinstance(act, discord.activity.Spotify):
embed.add_field(name="Listening to", value=user.title, inline=False)
embed.add_field(name="Listening to", value=act.title, inline=False)
elif isinstance(act, discord.activity.Game):
embed.add_field(name='Playing', value=act.name, inline=False)
await ctx.send(embed=embed)