Skip to content

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

Open
cotton105 wants to merge 2 commits intoTheBastionBot:mainfrom
cotton105:feature/admins-give-self-xp
Open

commands(give): let users with ManageGuild permission self-run /give#1080
cotton105 wants to merge 2 commits intoTheBastionBot:mainfrom
cotton105:feature/admins-give-self-xp

Conversation

@cotton105
Copy link
Copy Markdown
Contributor

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

@atlanna
Copy link
Copy Markdown

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