mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-30 15:23:16 +00:00
I think this is all now
This commit is contained in:
parent
0ea8ab8cf1
commit
666cdb113e
5 changed files with 11 additions and 12 deletions
|
@ -15,8 +15,8 @@ DISCORD_TOKEN = (
|
|||
DISCORD_GUILD_ID = Object(id=1040757387033849976)
|
||||
LYNXIE_PREFIX = "?"
|
||||
|
||||
DATA_PATH = os.path.join("/app", "data")
|
||||
ASSETS_PATH = os.path.join("/app", "assets")
|
||||
DATA_PATH = os.path.join("lynxie", "data")
|
||||
ASSETS_PATH = os.path.join("lynxie", "assets")
|
||||
|
||||
|
||||
DATABASE_URI = "sqlite:///" + os.path.join(DATA_PATH, "lynxie.db")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from sqlalchemy import create_engine, Column, Integer, String, DateTime
|
||||
from sqlalchemy.orm import declarative_base, sessionmaker
|
||||
from .config import DATABASE_URI
|
||||
from lynxie.config import DATABASE_URI
|
||||
|
||||
|
||||
Base = declarative_base()
|
||||
|
|
|
@ -7,9 +7,9 @@ import discord
|
|||
from discord.ext import commands
|
||||
from discord.gateway import DiscordWebSocket
|
||||
|
||||
from config import DISCORD_TOKEN, LYNXIE_PREFIX
|
||||
from database import CommandHistory, Database
|
||||
from utils import mobile_status, error_message
|
||||
from lynxie.config import DISCORD_TOKEN, LYNXIE_PREFIX
|
||||
from lynxie.database import CommandHistory, Database
|
||||
from lynxie.utils import mobile_status, error_message
|
||||
from lynxie.commands import Help, Ping, Hello, Music, Animals, Img, E621
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sys
|
||||
import discord
|
||||
from discord.gateway import _log
|
||||
from .config import LYNXIE_PREFIX
|
||||
from lynxie.config import LYNXIE_PREFIX
|
||||
|
||||
|
||||
async def mobile_status(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue