-
Notifications
You must be signed in to change notification settings - Fork 1
añadi help para leave #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
aun no hago la funcion jaja estoy trabajando en ello pero ya puse el help |
rubenchos6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En la sintaxis pon --leave [nombre del proyecto]
rubenchos6
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
El for role in user.roles no está haciendo nada. Lo correcto sería:
- checar si el rol lo tiene el usuario: if any(args in role.name for role in user.roles)
2)checar si el rol no es administrativo: if not any(args in approved_roles)
3)Justo lo que hiciste: role=get(context.message.guild.roles, name=args)
4)Quitarle el rol al usuario: client.remove_roles(user,role)
No description provided.