diff options
| author | 2018-08-30 18:06:46 +0100 | |
|---|---|---|
| committer | 2018-08-30 18:06:46 +0100 | |
| commit | d52037a6a3aa8a24bb6d7cff88a889519193fc82 (patch) | |
| tree | bbc205bae0678a6f0c8d583f4956b5decfac22de /modules | |
| parent | return "None" timeouts when there's no servers in IRCBot.servers (diff) | |
| signature | ||
use assure_call for trakt.py and lastfm.py
Diffstat (limited to 'modules')
| -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"]: |
