mirror of
https://github.com/fotoente/MIsskey-ebooks-bot
synced 2024-11-12 22:57:08 +00:00
commit
e7a01f646c
2 changed files with 2 additions and 2 deletions
|
@ -16,4 +16,4 @@ RUN pip3.10 install git+https://github.com/yupix/MiPA.git
|
|||
RUN pip3.10 install git+https://github.com/yupix/MiPAC.git
|
||||
COPY . .
|
||||
|
||||
CMD [ "python3.10", "-u", "rdbot" ]
|
||||
CMD [ "python3.10", "-u", "rdbot.py" ]
|
||||
|
|
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