Skip to content

Commit 631ff34

Browse files
author
Foxlet
committed
Oh yeah, it's on_start now.
1 parent c637142 commit 631ff34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/books.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def shrt(url):
2121
return "%s: %s" % (content['code'], content['message'])
2222

2323

24-
@hook.onload()
24+
@hook.on_start()
2525
def load_key(bot):
2626
global dev_key
2727
dev_key = bot.config.get("api_keys", {}).get("google_dev_key")

0 commit comments

Comments
 (0)