|
|
@@ -26,6 +26,7 @@ async def main():
|
|
|
)
|
|
|
except AttributeError:
|
|
|
quit()
|
|
|
+ tree = bot.tree
|
|
|
|
|
|
# Load extensions
|
|
|
default_extensions = [
|
|
|
@@ -46,7 +47,6 @@ except AttributeError:
|
|
|
quit()
|
|
|
except discord.errors.LoginFailure:
|
|
|
logging.error("Invalid discord token.")
|
|
|
- correct_setting("DISCORD_TOKEN")
|
|
|
quit()
|
|
|
except KeyboardInterrupt:
|
|
|
logging.info("Received keyboard interrupt, exiting...")
|