ソースを参照

Checking to ccheckout somn else

root 1 年間 前
コミット
049eb0bbba
1 ファイル変更1 行追加1 行削除
  1. 1 1
      bot/main.py

+ 1 - 1
bot/main.py

@@ -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...")