From 9f59b8dab17872bab591fc8e2d3df4f0b9485a87 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 7 Jul 2024 18:09:25 +0900 Subject: [PATCH] =?UTF-8?q?csv=E5=87=BA=E5=8A=9B=E3=81=AE=E3=82=B3?= =?UTF-8?q?=E3=83=BC=E3=83=89=E3=82=92=E4=BF=AE=E6=AD=A3=E3=81=9D=E3=81=AE?= =?UTF-8?q?5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dislocker.py b/dislocker.py index 5d04c37..34170bf 100644 --- a/dislocker.py +++ b/dislocker.py @@ -343,7 +343,7 @@ class Bot(discord.Client): elif msg_split[0] == "/export": export = self.report_export() if export["result"] == "ok": - await message.channel.send("使用履歴のレポートです。", file=discord.file(export["file_path"])) + await message.channel.send("使用履歴のレポートです。", file=discord.File(export["file_path"])) pass elif export["result"] == "export_error": await message.channel.send("エクスポートに失敗しました。")