diff options
| author | 2019-06-28 23:16:05 +0100 | |
|---|---|---|
| committer | 2019-06-28 23:16:05 +0100 | |
| commit | ae9d099a41b703ce875cf8746a94b6995bbaedfb (patch) | |
| tree | c389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/pronouns.py | |
| parent | message 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.py | 4 |
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): |
