From aa5b23f77fc889f3ad6df8dd65a1b23be8e8e30b Mon Sep 17 00:00:00 2001 From: Milkeyyy <59532514+Milkeyyy@users.noreply.github.com> Date: Wed, 14 Feb 2024 18:46:32 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=BC=E3=83=89=E3=81=AE=E6=95=B4?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/heartbeat.py | 1 + src/localizations.py | 2 +- src/main.py | 2 -- src/serverstatus.py | 3 --- src/serverstatus_api.py | 1 - 5 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/heartbeat.py b/src/heartbeat.py index 5e48045..603f84d 100644 --- a/src/heartbeat.py +++ b/src/heartbeat.py @@ -2,6 +2,7 @@ import logging import sys + def loadKeys(): global heartbeat global monitor diff --git a/src/localizations.py b/src/localizations.py index 19e1a86..8f149f2 100644 --- a/src/localizations.py +++ b/src/localizations.py @@ -1,5 +1,5 @@ import json -import logging + locale = "ja-JP" data = {} diff --git a/src/main.py b/src/main.py index 92b5773..47fc119 100644 --- a/src/main.py +++ b/src/main.py @@ -3,13 +3,11 @@ import logging import os import sys -import time import traceback import discord from discord.commands import Option from discord.ext import tasks -import schedule import heartbeat import localizations diff --git a/src/serverstatus.py b/src/serverstatus.py index 5269c8a..52200aa 100644 --- a/src/serverstatus.py +++ b/src/serverstatus.py @@ -1,7 +1,4 @@ import datetime -import json -import logging -import urllib import serverstatus_api import statusindicator diff --git a/src/serverstatus_api.py b/src/serverstatus_api.py index d6d81d2..bdcda39 100644 --- a/src/serverstatus_api.py +++ b/src/serverstatus_api.py @@ -1,7 +1,6 @@ import datetime import json import logging -import threading from urllib import request