Even more defense - only matchy knows about the state.json path
This commit is contained in:
parent
57f65b265c
commit
9337b92f50
2 changed files with 3 additions and 6 deletions
|
@ -9,7 +9,8 @@ from state import load_from_file
|
|||
from cogs.matchy_cog import MatchyCog
|
||||
from cogs.owner_cog import OwnerCog
|
||||
|
||||
state = load_from_file()
|
||||
_STATE_FILE = "state.json"
|
||||
state = load_from_file(_STATE_FILE)
|
||||
|
||||
logger = logging.getLogger("matchy")
|
||||
logger.setLevel(logging.INFO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue