archangelic / pinhook

the pluggable python framework for IRC bots and Twitch bots
https://archangelic.github.io/pinhook/
MIT License
31 stars 4 forks source link

roll ops decorator into the command decorator #72

Closed archangelic closed 4 years ago

archangelic commented 4 years ago

Currently adding an ops command requires 2 decorators, but this option could be added using a options in the command decorator now that plugins are objects.

@pinhook.plugin.command('!command', ops=True, ops_msg='this is an ops message')