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

Implement "admin only" commands #11

Open
4 of 6 tasks
ankith26 opened this issue Apr 3, 2024 · 1 comment
Open
4 of 6 tasks

Implement "admin only" commands #11

ankith26 opened this issue Apr 3, 2024 · 1 comment
Assignees
Labels
difficulty:medium enhancement New feature or request

Comments

@ankith26
Copy link
Member

ankith26 commented Apr 3, 2024

Description

We need a way to limit some commands to be run by only bot admins (people who are responsible for maintaining the server and this codebase).

Tasks

  • Read discord IDs of admins that must be set in .env file.
  • Add a check function that checks if a given member ID is a bot admin.
  • Make backend_info an admin command.
  • unverify (ref: Implement unverify class of commands #10)
  • Make query/role admin-able commands so that admins can run it outside the "academic server" constraint.
  • We can later add more admin-convenience functions usable from discord, stuff like logs/status/ping commands.
@ankith26 ankith26 added difficulty:medium enhancement New feature or request labels Apr 3, 2024
@someyuck
Copy link

Hi, I'd like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty:medium enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants