mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-10 05:44:14 +00:00
Small update of the syntax for update.py
This commit is contained in:
parent
1df0326c65
commit
90f8d0dce6
2 changed files with 3 additions and 2 deletions
1
rdbot.py
1
rdbot.py
|
@ -24,6 +24,7 @@ except (TypeError, ValueError, roboduck.configparser.NoOptionError):
|
|||
if not check_multi_arg(url, token):
|
||||
raise Exception("Misskey instance and token are required.")
|
||||
|
||||
|
||||
class MyBot(commands.Bot):
|
||||
|
||||
def __init__(self):
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
from roboduck import *
|
||||
import roboduck
|
||||
|
||||
update()
|
||||
roboduck.update()
|
||||
|
|
Loading…
Reference in a new issue