mirror of
https://github.com/Xevion/contest-assistant.git
synced 2025-12-06 11:14:40 -06:00
17 lines
405 B
Python
17 lines
405 B
Python
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')
|
|
DATABASE_URI = f'sqlite:///{DATABASE}'
|
|
|
|
# Other constants
|
|
LOGGING_LEVEL = logging.DEBUG
|
|
|
|
# Emote references
|
|
class Emoji(object):
|
|
UPVOTE = 810310002220859393
|
|
DOWNVOTE = 810310019840213002
|