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

Better roles #123

Open
helmasaur opened this issue Jan 19, 2020 · 0 comments
Open

Better roles #123

helmasaur opened this issue Jan 19, 2020 · 0 comments
Assignees
Milestone

Comments

@helmasaur
Copy link
Owner

The bot uses the roles!

  • +Voice
  • %Halfop
  • @Op

A solution should be found to manage roles in a better way. Some conditions depending on roles are clumsy. For example:

// commands/moderation/role.js
if (author.highestRole.position < role.position) {
	return msg.reply(i18n.t('role.noPermission.author.role', { member: bannedMember, interpolation: { escapeValue: false } }));
}

A possibiliy is to create the three listed roles above when the bot joins a new server.

@helmasaur helmasaur added this to the v1.2.0 milestone Jan 19, 2020
@helmasaur helmasaur self-assigned this Jan 19, 2020
@helmasaur helmasaur modified the milestones: v1.2.0, v1.3.0 Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant