Skip to content

Commit

Permalink
コードの整理
Browse files Browse the repository at this point in the history
  • Loading branch information
Milkeyyy committed Feb 14, 2024
1 parent c2f9e70 commit aa5b23f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions src/heartbeat.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging
import sys


def loadKeys():
global heartbeat
global monitor
Expand Down
2 changes: 1 addition & 1 deletion src/localizations.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import json
import logging


locale = "ja-JP"
data = {}
Expand Down
2 changes: 0 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions src/serverstatus.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import datetime
import json
import logging
import urllib

import serverstatus_api
import statusindicator
Expand Down
1 change: 0 additions & 1 deletion src/serverstatus_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime
import json
import logging
import threading
from urllib import request


Expand Down

0 comments on commit aa5b23f

Please sign in to comment.