diff options
Diffstat (limited to 'modules/bot_channel.py')
| -rw-r--r-- | modules/bot_channel.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bot_channel.py b/modules/bot_channel.py index d7c7e8b2..32f3f1fc 100644 --- a/modules/bot_channel.py +++ b/modules/bot_channel.py @@ -2,8 +2,8 @@ from src import ModuleManager, utils -@utils.export("serverset", {"setting": "bot-channel", - "help": "Set main channel", "example": "#bitbot"}) +@utils.export("serverset", utils.Setting("bot-channel", + "Set main channel", example="#bitbot")) class Module(ModuleManager.BaseModule): @utils.hook("received.001") def do_join(self, event): |
