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/lastfm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/lastfm.py') diff --git a/modules/lastfm.py b/modules/lastfm.py index 2e08bdab..8078dc54 100644 --- a/modules/lastfm.py +++ b/modules/lastfm.py @@ -7,8 +7,8 @@ from src import ModuleManager, utils URL_SCROBBLER = "http://ws.audioscrobbler.com/2.0/" -@utils.export("set", {"setting": "lastfm", "help": "Set last.fm username", - "example": "jesopo"}) +@utils.export("set", utils.Setting("lastfm", "Set last.fm username", + example="jesopo")) class Module(ModuleManager.BaseModule): _name = "last.fm" -- cgit v1.3.1-10-gc9f91