diff --git a/nomen/main.py b/nomen/main.py index 8764516..e9d7928 100644 --- a/nomen/main.py +++ b/nomen/main.py @@ -221,6 +221,10 @@ async def prefix(ctx, prefix=None): def run(): - if run_db_migrations(DB_FILE): - log.info(f"Migrated DB {DB_FILE}") - bot.run(TOKEN) + try: + if run_db_migrations(DB_FILE): + log.info(f"Migrated DB {DB_FILE}") + except RuntimeError: + pass + else: + bot.run(TOKEN)