Skip to content

Add hidden commands for admin purposes#52

Open
wick2o wants to merge 2 commits intofbradyirl:mainfrom
wick2o:main
Open

Add hidden commands for admin purposes#52
wick2o wants to merge 2 commits intofbradyirl:mainfrom
wick2o:main

Conversation

@wick2o
Copy link

@wick2o wick2o commented Mar 6, 2024

This pull request will allow users to have administrative/hidden commands. These commands will not show up in the help card and will only be allowable to a approved user list, much like the approved_rooms variable. Otherwise the bot will not respond to them.

When creating a new command you can specify the following:

approved_admins=self.cfg['approved_admins']
admin_command=True,

For questions I can be reached directly here: jafilson@cisco.com.

@coolacid
Copy link

This would be good to see brought in.

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.

3 participants