aboutsummaryrefslogtreecommitdiff
path: root/modules/set.py
diff options
context:
space:
mode:
authorGravatar jesopo2016-03-29 14:37:35 +0100
committerGravatar jesopo2016-03-29 14:37:35 +0100
commit7de9970cd0d1f778e86a1b9fbb28e43085d01433 (patch)
tree4a829a5213526e5cf4c074bc2515fd30ef6a1c3b /modules/set.py
parentadded random.py, added code to commands.py to remove all empty strings from a... (diff)
added help strings where they were missing.
Diffstat (limited to 'modules/set.py')
-rw-r--r--modules/set.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/set.py b/modules/set.py
index 36592f7a..06f36feb 100644
--- a/modules/set.py
+++ b/modules/set.py
@@ -12,7 +12,8 @@ class Module(object):
bot.events.on("received").on("command").on("set").hook(
self.set, help="Set a specified user setting")
bot.events.on("received").on("command").on("channelset"
- ).hook(self.channel_set, channel_only=True)
+ ).hook(self.channel_set, channel_only=True,
+ help="Set a specified setting for the current channel")
def _postboot_set(self, settings, event):
settings[event["setting"]] = {}