csv出力のコードを修正その5
This commit is contained in:
parent
ce3bf1cd3c
commit
9f59b8dab1
1 changed files with 1 additions and 1 deletions
|
@ -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("エクスポートに失敗しました。")
|
||||
|
|
Loading…
Reference in a new issue