mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-28 22:33:14 +00:00
Add animals command
Fix Youtube playback Add Database file
This commit is contained in:
parent
d7953e9808
commit
0c1909807a
12 changed files with 623 additions and 126 deletions
|
@ -1,10 +1,19 @@
|
|||
import dotenv
|
||||
import os
|
||||
from discord import Object
|
||||
from lynxie.utils import get_env_or_error
|
||||
|
||||
try:
|
||||
DISCORD_TOKEN = dotenv.dotenv_values(".env")["DISCORD_TOKEN"]
|
||||
except KeyError:
|
||||
print("DISCORD_TOKEN not found in .env file")
|
||||
exit(1)
|
||||
DATA_PATH = "data"
|
||||
|
||||
LYNXIE_PREFIX = "~"
|
||||
LYNXIE_DB = f"sqlite:///" + os.path.join(DATA_PATH, "lynxie.db")
|
||||
|
||||
DISCORD_GUILD_ID = Object(id=1040757387033849976)
|
||||
DISCORD_TOKEN = get_env_or_error("DISCORD_TOKEN")
|
||||
|
||||
TINYFOX_ANIMALS = [
|
||||
"chi", "bear", "dog", "capy", "caracal", "chee",
|
||||
"yote", "bleat", "dook", "fox", "yeen", "jaguar",
|
||||
"leo", "lynx", "mane", "puma", "poss", "ott",
|
||||
"manul", "marten", "bun", "racc", "wah", "serval",
|
||||
"shiba", "skunk", "snek", "snep", "tig", "woof",
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue