Merged .env into settings.json

This commit is contained in:
Choco
2024-05-14 20:39:11 +08:00
parent d4cb50a067
commit 779ea8b4a2
8 changed files with 32 additions and 45 deletions

View File

@@ -2,7 +2,7 @@ import discord, json, os, copy, logging
from discord.ext import commands
from time import strptime
from addons import Settings, TOKENS
from addons import Settings
from typing import (
Optional,
@@ -22,7 +22,6 @@ if not os.path.exists(os.path.join(ROOT_DIR, "settings.json")):
raise Exception("Settings file not set!")
#--------------- Cache Var ---------------
tokens: TOKENS = TOKENS()
settings: Settings
logger: logging.Logger = logging.getLogger("vocard")