diff options
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") |
