aboutsummaryrefslogtreecommitdiff
path: root/modules/greeting.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/greeting.py')
-rw-r--r--modules/greeting.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/greeting.py b/modules/greeting.py
index a1005436..9f5b9b78 100644
--- a/modules/greeting.py
+++ b/modules/greeting.py
@@ -2,9 +2,9 @@
from src import ModuleManager, utils
-@utils.export("channelset", {"setting": "greeting",
- "help": "Set a greeting to send to users when they join",
- "example": "welcome to the channel!"})
+@utils.export("channelset", utils.Setting("greeting",
+ "Set a greeting to send to users when they join",
+ example="welcome to the channel!"))
class Module(ModuleManager.BaseModule):
@utils.hook("received.join")
def join(self, event):