diff options
| author | 2019-06-28 23:16:05 +0100 | |
|---|---|---|
| committer | 2019-06-28 23:16:05 +0100 | |
| commit | ae9d099a41b703ce875cf8746a94b6995bbaedfb (patch) | |
| tree | c389ae3b967c43055a1c671b8cebf04db4e8f8b6 /modules/trakt.py | |
| parent | message arg for HTTPWrongContentTypeException/HTTPParsingException (diff) | |
| signature | ||
Refactor set/channelset/serverset/botset in to 'utils.Setting' objects
Diffstat (limited to 'modules/trakt.py')
| -rw-r--r-- | modules/trakt.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |
