diff options
| author | 2018-08-30 18:06:46 +0100 | |
|---|---|---|
| committer | 2018-08-30 18:07:50 +0100 | |
| commit | d37fc4434387f4f9aff6fd6f37e3fb98a48ad436 (patch) | |
| tree | 16650756617125883b893dd175bb39d2b6ed5ee9 | |
| parent | Merge pull request #6 from jesopo/master (diff) | |
| signature | ||
use assure_call for trakt.py and lastfm.py
| -rw-r--r-- | modules/lastfm.py | 2 | ||||
| -rw-r--r-- | modules/trakt.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/lastfm.py b/modules/lastfm.py index 56da9b29..e8a2545e 100644 --- a/modules/lastfm.py +++ b/modules/lastfm.py @@ -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", diff --git a/modules/trakt.py b/modules/trakt.py index 39a039c3..b3c36d3d 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -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"]: |
