Skip to content

give role command #6399

Answered by tk421bsod
AmirhN1382 asked this question in Q&A
Feb 9, 2021 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

user is a string. If you want to convert that argument to a Member, use a typehint to discord.Member. (user:discord.Member) This will attempt to convert user to an instance of discord.Member, and this requires the members intent to be enabled, read the docs for intents for more information.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@bandwiches
Comment options

@AmirhN1382
Comment options

@Harmon758
Comment options

@Tapicz
Comment options

@Harmon758
Comment options

Answer selected by AmirhN1382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants