Skip to content
Discussion options

You must be logged in to vote

member_id wouldn't be defined here. You could make ot an argument to the command and typehint it to an int? Also, I don't think that bot.guild exists - you probably want ctx.guild to get the current guild.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@CristianEduardMihai
Comment options

@esmaycat
Comment options

Answer selected by CristianEduardMihai
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants