소스 검색

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