diff options
Diffstat (limited to 'modules/trakt.py')
| -rw-r--r-- | modules/trakt.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/trakt.py b/modules/trakt.py index 3e407752..39a039c3 100644 --- a/modules/trakt.py +++ b/modules/trakt.py @@ -8,14 +8,12 @@ URL_TRAKTSLUG = "https://trakt.tv/%s/%s" class Module(object): def __init__(self, bot): self.bot = bot - bot.events.on("boot").on("done").hook(self.boot_done) bot.events.on("received").on("command").on("nowwatching", "nw").hook(self.now_watching, help="Get what you or another user is now watching " "on trakt.tv", usage="[username]") - def boot_done(self, event): - self.bot.events.on("postboot").on("configure").on("set" + bot.events.on("postboot").on("configure").on("set" ).call(setting="trakt", help="Set username on trakt.tv") def now_watching(self, event): |
