aboutsummaryrefslogtreecommitdiff
path: root/modules/pronouns.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-28 23:16:05 +0100
committerGravatar jesopo2019-06-28 23:16:05 +0100
commitae9d099a41b703ce875cf8746a94b6995bbaedfb (patch)
treec389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/pronouns.py
parentmessage arg for HTTPWrongContentTypeException/HTTPParsingException (diff)
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
Diffstat (limited to 'modules/pronouns.py')
-rw-r--r--modules/pronouns.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pronouns.py b/modules/pronouns.py
index e0d9b2c1..f800dad5 100644
--- a/modules/pronouns.py
+++ b/modules/pronouns.py
@@ -3,8 +3,8 @@
from src import ModuleManager, utils
-@utils.export("set", {"setting": "pronouns", "help": "Set your pronouns",
- "example": "she/her"})
+@utils.export("set", utils.Setting("pronouns", "Set your pronouns",
+ example="she/her"))
class Module(ModuleManager.BaseModule):
@utils.hook("received.command.pronouns")
def pronouns(self, event):