slackminion.plugins.core package¶
Submodules¶
slackminion.plugins.core.acl module¶
-
class
slackminion.plugins.core.acl.AuthManager(bot: Bot, **kwargs)[source]¶ Bases:
slackminion.plugin.base.BasePluginBasic Authorization Plugin
-
acl(msg, args)[source]¶ ACL Management.
Usage: !acl _action_ [args]
Actions: new _acl_ - Create a new ACL delete _acl_ - Delete an ACL
allow _acl_ _user_ - Add user to the acl allow block deny _acl_ _user_ - Add user to the acl deny block remove _acl_ _user_ - Remove user from acl allow and deny blocks
show - Show all defined ACLs show _acl_ - Show allow and deny blocks of specified ACL
-
slackminion.plugins.core.core module¶
-
class
slackminion.plugins.core.core.Core(bot: Bot, **kwargs)[source]¶ Bases:
slackminion.plugin.base.BasePlugin-
sleep(msg, args)[source]¶ Causes the bot to ignore all messages from the channel.
Usage: !sleep [channel name] - ignore the specified channel (or current if none specified)
-
slackminion.plugins.core.user module¶
-
class
slackminion.plugins.core.user.UserManager(bot: Bot, **kwargs)[source]¶ Bases:
slackminion.plugin.base.BasePluginLoads and stores user information