aboutsummaryrefslogtreecommitdiff
path: root/modules/user_time.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-23 11:50:12 +0100
committerGravatar jesopo2019-05-23 11:50:12 +0100
commit724b3380d302caed53a9fb5d2907bc60f5a9d75c (patch)
treebd1d458df86bf8ff099951998aae9e6b648060ab /modules/user_time.py
parentAdd setting example in location.py (diff)
signature
Use require_setting in user_time.py and weather.py
Diffstat (limited to 'modules/user_time.py')
-rw-r--r--modules/user_time.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user_time.py b/modules/user_time.py
index e5d91a19..2f69e7a7 100644
--- a/modules/user_time.py
+++ b/modules/user_time.py
@@ -11,6 +11,8 @@ class Module(ModuleManager.BaseModule):
"""
:help: Get the time for you or someone else
:usage: [nickname]
+ :require_setting: location
+ :require_setting_unless: 1
"""
target_user = event["user"]
if event["args"]: