aboutsummaryrefslogtreecommitdiff
path: root/modules/bot_channel.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-28 23:16:05 +0100
committerGravatar jesopo2019-06-28 23:16:05 +0100
commitae9d099a41b703ce875cf8746a94b6995bbaedfb (patch)
treec389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/bot_channel.py
parentmessage arg for HTTPWrongContentTypeException/HTTPParsingException (diff)
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
Diffstat (limited to 'modules/bot_channel.py')
-rw-r--r--modules/bot_channel.py4
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):