fbradyirl / webex_bot

Python package for a Webex Bot based on websockets.
MIT License
68 stars 44 forks source link

Add hidden commands for admin purposes #52

Open wick2o opened 5 months ago

wick2o commented 5 months ago

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.