Use require_setting in birthday.py
This commit is contained in:
parent
ac9768fcde
commit
34b7768d42
1 changed files with 2 additions and 0 deletions
|
@ -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"]:
|
||||
|
|
Loading…
Reference in a new issue