aboutsummaryrefslogtreecommitdiff
path: root/modules/greeting.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-23 10:28:14 +0100
committerGravatar jesopo2019-05-23 10:28:14 +0100
commitcf29c371120929c53490d6017d5f43cf04f3cbc9 (patch)
treefcdce0685aca7a7edb319b35589ecc4ce80edbd6 /modules/greeting.py
parent`event.eat()` for command.regex hooks in github module (diff)
Add usage examples for all settings
Diffstat (limited to 'modules/greeting.py')
-rw-r--r--modules/greeting.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/greeting.py b/modules/greeting.py
index 2ac9660a..3e527606 100644
--- a/modules/greeting.py
+++ b/modules/greeting.py
@@ -1,7 +1,8 @@
from src import ModuleManager, utils
@utils.export("channelset", {"setting": "greeting",
- "help": "Set a greeting to send to users when they join"})
+ "help": "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):