From ae9d099a41b703ce875cf8746a94b6995bbaedfb Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 28 Jun 2019 23:16:05 +0100 Subject: Refactor set/channelset/serverset/botset in to 'utils.Setting' objects --- modules/pronouns.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pronouns.py') 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): -- cgit v1.3.1-10-gc9f91