Skip to content
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

Update utility.py #10

Closed
wants to merge 1 commit into from
Closed

Update utility.py #10

wants to merge 1 commit into from

Conversation

tommodev-ctrl
Copy link
Contributor

Before the change, the roles were sorted backwards (if for example a member has the roles "Owner" and "Member" it would show "Member, Owner": the highest role at the bottom). Now, with the change, "Owner, Member" will be shown: the major role at the beginning.

Before the change, the roles were sorted backwards (if for example a member has the roles "Owner" and "Member" it would show "Member, Owner": the highest role at the bottom). Now, with the change, "Owner, Member" will be shown: the major role at the beginning.
@DTS-11 DTS-11 added the enhancement New feature or request or improvement label Dec 26, 2021
@DTS-11
Copy link
Owner

DTS-11 commented Dec 27, 2021

Can you change user to member in here: rolelist = [role.mention for role in list(user.roles[::-1]) if not role is ctx.guild.default_role]

Edit: I have changed it, thanks for the enhancement!

@DTS-11 DTS-11 closed this Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants