Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\whois.py", line 236, in whois
- embed = discord.Embed(title= f'**{user_obj.name}**', description= f'Current activity: **{user_obj.activity}**\nHighest role in server: **{ctx.guild.get_member(user_obj.id).top_role}**', timestamp=ctx.message.created_at, color=discord.Colour.from_hsv(random.random(), 1, 1))
- AttributeError: 'User' object has no attribute 'activity'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement