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/trakt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/trakt.py') diff --git a/modules/trakt.py b/modules/trakt.py index faf3ee81..b394431b 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -7,8 +7,8 @@ from src import ModuleManager, utils URL_TRAKT = "https://api-v2launch.trakt.tv/users/%s/watching" URL_TRAKTSLUG = "https://trakt.tv/%s/%s" -@utils.export("set", {"setting": "trakt", "help": "Set username on trakt.tv", - "example": "jesopo"}) +@utils.export("set", utils.Setting("trakt", "Set username on trakt.tv", + example="jesopo")) class Module(ModuleManager.BaseModule): @utils.hook("received.command.nw", alias_of="nowwatching") @utils.hook("received.command.nowwatching") -- cgit v1.3.1-10-gc9f91