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

feat(admin): Add Admin-only Commands #84

Merged
merged 6 commits into from
Nov 27, 2024

Conversation

unglinh279
Copy link
Collaborator

Description

Feat #23 & fix #81

Changes Made

  • Added /admin set guild-id
  • Added /admin set skullboard-channel-id
  • Added /admin set required-reaction
  • Added /admin reset chat-history
  • Added /admin log-info

Related Issues

Additional Notes

Update .env with actual admin usernames under ADMIN_USERS to get permissions.

src/models/admin_settings_db.py Outdated Show resolved Hide resolved
src/commands/admin_commands.py Outdated Show resolved Hide resolved
src/commands/admin_commands.py Outdated Show resolved Hide resolved
src/commands/admin_commands.py Outdated Show resolved Hide resolved
src/models/admin_settings_db.py Outdated Show resolved Hide resolved
src/models/admin_settings_db.py Outdated Show resolved Hide resolved
src/models/admin_settings_db.py Outdated Show resolved Hide resolved
src/utils/settings.py Outdated Show resolved Hide resolved
src/commands/admin_commands.py Outdated Show resolved Hide resolved
@phoenixpereira phoenixpereira added the enhancement New feature or request label Nov 20, 2024
Copy link
Member

@phoenixpereira phoenixpereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the 'production.yml' to include the new env var and it should be good to go.

@phoenixpereira phoenixpereira changed the title feat(admin): add admin-only commands (#23) feat(admin): add Admin-only commands (#23) Nov 27, 2024
@phoenixpereira phoenixpereira changed the title feat(admin): add Admin-only commands (#23) feat(admin): Add Admin-only Commands Nov 27, 2024
@phoenixpereira phoenixpereira merged commit 2279c0a into compsci-adl:main Nov 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants