Use require_setting in birthday.py

This commit is contained in:
jesopo 2019-05-23 11:46:00 +01:00
parent ac9768fcde
commit 34b7768d42

View file

@ -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"]: