From 2f4ce10f7809bf1fcd4d49b1c7a4f1b6206dd8ca Mon Sep 17 00:00:00 2001 From: t3tra Date: Mon, 30 Sep 2024 15:32:40 +0900 Subject: [PATCH] fix filepath --- cogs/ckill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/ckill.py b/cogs/ckill.py index 2df3ca4..a9025ea 100644 --- a/cogs/ckill.py +++ b/cogs/ckill.py @@ -9,7 +9,7 @@ def kill(name, target=None): # jsonファイル を dict(lang_data) に変換 - with open(file='ja_jp.json', mode='r', encoding='utf-8') as file: + with open(file='./assets/ja_jp.json', mode='r', encoding='utf-8') as file: lang_data = json.load(file) # lang_data からデスログ、エンティティ名、アイテム名を抽出