diff options
| author | 2018-10-03 13:22:37 +0100 | |
|---|---|---|
| committer | 2018-10-03 13:22:37 +0100 | |
| commit | 69d58eede2e9bf83aa1ed1d8fcf956efde494726 (patch) | |
| tree | 11aa30f2a357f3be23ad97315dae3df051455cbe /modules/bot_channel.py | |
| parent | Add a way to not add a user automatically in IRCServer.get_user (diff) | |
| signature | ||
Move src/Utils.py in to src/utils/, splitting functionality out in to modules of
related functionality
Diffstat (limited to 'modules/bot_channel.py')
| -rw-r--r-- | modules/bot_channel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py index c38f4e6f..2fe4e1fd 100644 --- a/modules/bot_channel.py +++ b/modules/bot_channel.py @@ -1,9 +1,9 @@ -from src import ModuleManager, Utils +from src import ModuleManager, utils -@Utils.export("serverset", {"setting": "bot-channel", +@utils.export("serverset", {"setting": "bot-channel", "help": "Set main channel"}) class Module(ModuleManager.BaseModule): - @Utils.hook("received.numeric.001") + @utils.hook("received.numeric.001") def do_join(self, event): event["server"].send_join(event["server"].get_setting("bot-channel", "#bitbot")) |
