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

commands(give): let users with ManageGuild permission self-run /give #1080

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cotton105
Copy link

Allows users with the ManageGuild permission to run /give on themselves.

References

Fixes: #1077
Instead of requiring the Administrator permission, I have made it require the ManageGuild permission instead, to follow the userPermissions setting in the GiveCommand constructor.
I also ignored the issue requirement of allowing Bot Owner to run the command, because just the ManageGuild permission might be more appropriate.

Checklist

  • Documentation is changed or added (if applicable)
  • Commit message follows the commit guidelines

Copy link

atlanna bot commented Jan 10, 2025

Thank you for opening this pull request.
A maintainer will get by as soon as practical to review the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[IDEA]: Server Admins/Bot Owners Should Be Allowed To Give Themselves Coins/XP
1 participant