Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CODE:
- @client.command(pass_context=True)
- async def partner(link:str):
- dirObj = client.get_invite(link)
- await client.say(dirObj.server.name)
- ERROR:
- discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'generator' object has no attribute 'server'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement