mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-06 19:14:39 -06:00
refactor contest to bot folder, work on generic sqlite update query generator, work on new submissions/voting period logic commands, get away from get_submission_channel
This commit is contained in:
10
bot/constants.py
Normal file
10
bot/constants.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
# Path Constants
|
||||
BASE_DIR = os.path.dirname(os.path.abspath(os.path.join(__file__, '..')))
|
||||
TOKEN = os.path.join(BASE_DIR, 'token.dat')
|
||||
DATABASE = os.path.join(BASE_DIR, 'database.db')
|
||||
|
||||
# Other constants
|
||||
LOGGING_LEVEL = logging.DEBUG
|
||||
Reference in New Issue
Block a user