diff options
| author | 2019-05-23 11:46:00 +0100 | |
|---|---|---|
| committer | 2019-05-23 11:46:00 +0100 | |
| commit | 34b7768d42c97e7e8435c15016f89c7df088fbc2 (patch) | |
| tree | f204a382011a148db232c337632827149845ae09 | |
| parent | Add system to require settings per event hook and show example help if they're (diff) | |
| signature | ||
Use require_setting in birthday.py
| -rw-r--r-- | modules/birthday.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/birthday.py b/modules/birthday.py index be5ca4d3..a0741fc1 100644 --- a/modules/birthday.py +++ b/modules/birthday.py @@ -38,6 +38,8 @@ class Module(ModuleManager.BaseModule): """ :help: Get your, or someone else's, birthday :usage: [nickname] + :require_setting: birthday + :require_setting_unless: 1 """ target_user = event["user"] if event["args"]: |
