From 62537a1038f32a9b96b9918c84342fb7e4bca68b Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 7 Jul 2024 17:10:05 +0900 Subject: [PATCH] =?UTF-8?q?print=E3=83=87=E3=83=90=E3=83=83=E3=82=AF?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dislocker.py b/dislocker.py index 6a290bf..7ff67ef 100644 --- a/dislocker.py +++ b/dislocker.py @@ -262,6 +262,7 @@ class Bot(discord.Client): print("DiscordのBotが起動しました。") async def on_message(self, message): + print("メッセージ来た") if message.author.bot: pass @@ -349,7 +350,10 @@ class Bot(discord.Client): dislocker = DL() if dislocker.init_result == "ok": + print(dislocker.server_config) intents = discord.Intents.default() intents.message_content = True bot = Bot(intents=intents) bot.run(dislocker.server_config['bot']['token']) +else: + pass \ No newline at end of file