diff --git a/main.py b/main.py index 8e18630..fd25afc 100644 --- a/main.py +++ b/main.py @@ -18,8 +18,9 @@ async def on_ready(): music = discord.Activity(type=discord.ActivityType.listening, name="YOASOBI is soooooo great") await client.change_presence(status=discord.Status.idle, activity=music) - log_writter.write_log("-------------------------------------------------------------\n登入成功!\n目前登入身份:" + - str(client.user) + "\n以下為使用紀錄(只要開頭訊息有\"a!\",則這則訊息和系統回應皆會被記錄):\n", True) + log_writter.write_log("-------------------------------------------------------------\n", True) + log_writter.write_log("登入成功!\n目前登入身份:" + + str(client.user) + "\n以下為使用紀錄(只要開頭訊息有\"a!\",則這則訊息和系統回應皆會被記錄):\n") vc = client.get_channel(888707777659289660) await vc.connect() diff --git "a/\345\237\267\350\241\214Allen Bot.bat" "b/\345\237\267\350\241\214Allen Bot.bat" index 40ebdb5..071bef3 100644 --- "a/\345\237\267\350\241\214Allen Bot.bat" +++ "b/\345\237\267\350\241\214Allen Bot.bat" @@ -1 +1,2 @@ +cd %USERPROFILE%/PycharmProjects/Discord Bot(fix) py "main.py" \ No newline at end of file