forked from gooberinc/goober
33 lines
No EOL
1,014 B
Python
33 lines
No EOL
1,014 B
Python
import os
|
|
from dotenv import load_dotenv
|
|
import platform
|
|
import random
|
|
|
|
load_dotenv()
|
|
VERSION_URL = "https://goober.expect.ovh"
|
|
UPDATE_URL = VERSION_URL+"/latest_version.json"
|
|
LOCAL_VERSION_FILE = "current_version.txt"
|
|
TOKEN = os.getenv("DISCORDBOTTOKEN")
|
|
PREFIX = os.getenv("BOTPREFIX")
|
|
PING_LINE = os.getenv("PINGLINE")
|
|
LOCALE = os.getenv("LOCALE")
|
|
gooberTOKEN = os.getenv("GOOBERTOKEN")
|
|
splashtext = os.getenv("SPLASHTEXT")
|
|
ownerid = int(os.getenv("OWNERID"))
|
|
showmemenabled = os.getenv("SHOWMEMENABLED")
|
|
BLACKLISTED_USERS = os.getenv("BLACKLISTEDUSERS", "").split(",")
|
|
USERTRAIN_ENABLED = os.getenv("USERTRAINENABLED", "true").lower() == "true"
|
|
NAME = os.getenv("NAME")
|
|
last_random_talk_time = 0
|
|
MEMORY_FILE = "memory.json"
|
|
DEFAULT_DATASET_FILE = "defaultdataset.json"
|
|
MEMORY_LOADED_FILE = "MEMORY_LOADED"
|
|
ALIVEPING = os.getenv("ALIVEPING")
|
|
IGNOREWARNING = False
|
|
song = os.getenv("SONG")
|
|
arch = platform.machine()
|
|
RED = "\033[31m"
|
|
GREEN = "\033[32m"
|
|
YELLOW = "\033[33m"
|
|
DEBUG = "\033[1;30m"
|
|
RESET = "\033[0m" |