mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-22 11:23:14 +00:00
fix method call
This commit is contained in:
parent
cbbd75b9ef
commit
f5b1025789
1 changed files with 1 additions and 1 deletions
2
rdbot.py
2
rdbot.py
|
@ -62,7 +62,7 @@ if __name__ == "__main__":
|
|||
databasepath = roboduck.Path(__file__).parent.joinpath('roboduck.db')
|
||||
|
||||
if not (roboduck.os.path.exists(databasepath) and roboduck.os.stat(databasepath).st_size != 0):
|
||||
init_bot()
|
||||
roboduck.init_bot()
|
||||
|
||||
bot = MyBot()
|
||||
asyncio.run(bot.start(url, token))
|
||||
|
|
Loading…
Reference in a new issue