use assure_call for trakt.py and lastfm.py
This commit is contained in:
parent
da5e1bbcac
commit
d37fc44343
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ class Module(object):
|
|||
self.bot = bot
|
||||
|
||||
bot.events.on("postboot").on("configure").on(
|
||||
"set").call(setting="lastfm",
|
||||
"set").assure_call(setting="lastfm",
|
||||
help="Set username on last.fm")
|
||||
|
||||
bot.events.on("received").on("command").on("np",
|
||||
|
|
|
@ -14,7 +14,7 @@ class Module(object):
|
|||
"on trakt.tv", usage="[username]")
|
||||
|
||||
bot.events.on("postboot").on("configure").on("set"
|
||||
).call(setting="trakt", help="Set username on trakt.tv")
|
||||
).assure_call(setting="trakt", help="Set username on trakt.tv")
|
||||
|
||||
def now_watching(self, event):
|
||||
if event["args"]:
|
||||
|
|
Loading…
Reference in a new issue