feat: implement /admin add @username command #73
Reference in New Issue
Block a user
Delete Branch "fix/issue-51"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implements
/admin add @usernameand/admin remove @usernamecommands for issue #51.Changes
New Command
/admin add @username- Add a user as admin for the room/admin remove @username- Remove a user from admin roleImplementation Details
cmd_admin handler in
commands.py:_find_user_id_by_username helper:
Bot registration in
bot.py:Error Handling
⛔ Only admins can perform this action.⛔ User @{username} not found.Dependencies
created_by_usernamestored when bounties are createdTesting
Fixes #51
5dee75d7d0toe805a6428aPull request closed