use assure_call for trakt.py and lastfm.py

This commit is contained in:
jesopo 2018-08-30 18:06:46 +01:00 committed by dongfix
parent da5e1bbcac
commit d37fc44343
2 changed files with 2 additions and 2 deletions

View file

@ -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",

View file

@ -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"]: