mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-29 23:03:15 +00:00
Will this pain ever end?
This commit is contained in:
parent
bd55d6f5e0
commit
b53e58bd0d
13 changed files with 69 additions and 763 deletions
|
@ -4,8 +4,8 @@ from io import BytesIO
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
from lynxie.config import TINYFOX_ANIMALS
|
||||
from lynxie.utils import error_message
|
||||
from .config import TINYFOX_ANIMALS
|
||||
from .utils import error_message
|
||||
|
||||
|
||||
class Animals(commands.Cog):
|
||||
|
|
|
@ -5,8 +5,8 @@ import requests
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
from lynxie.config import E621_API_KEY, E621_USERNAME, E621_BLACKLIST
|
||||
from lynxie.utils import error_message
|
||||
from .config import E621_API_KEY, E621_USERNAME, E621_BLACKLIST
|
||||
from .utils import error_message
|
||||
|
||||
|
||||
_E621_AUTH = f"{E621_USERNAME}:{E621_API_KEY}".encode("utf-8")
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
from lynxie.config import LYNXIE_PREFIX
|
||||
from .config import LYNXIE_PREFIX
|
||||
|
||||
|
||||
class Help(commands.Cog):
|
||||
|
|
|
@ -7,8 +7,8 @@ from PIL import Image, ImageEnhance
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
from lynxie.config import IMAGE_EXTENSIONS, IMAGE_OVERLAYS
|
||||
from lynxie.utils import error_message
|
||||
from .config import IMAGE_EXTENSIONS, IMAGE_OVERLAYS
|
||||
from .utils import error_message
|
||||
|
||||
|
||||
class Img(commands.Cog):
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import yt_dlp
|
||||
import discord
|
||||
from discord.ext import commands
|
||||
from lynxie.utils import error_message
|
||||
from .utils import error_message
|
||||
|
||||
|
||||
ffmpeg_options = {"options": "-vn"}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from sqlalchemy import create_engine, Column, Integer, String, DateTime
|
||||
from sqlalchemy.orm import declarative_base, sessionmaker
|
||||
from lynxie.config import DATABASE_URI
|
||||
from .config import DATABASE_URI
|
||||
|
||||
|
||||
Base = declarative_base()
|
||||
|
|
|
@ -7,10 +7,10 @@ import discord
|
|||
from discord.ext import commands
|
||||
from discord.gateway import DiscordWebSocket
|
||||
|
||||
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
|
||||
from .config import DISCORD_TOKEN, LYNXIE_PREFIX
|
||||
from .database import CommandHistory, Database
|
||||
from .utils import mobile_status, error_message
|
||||
from .commands import Help, Ping, Hello, Music, Animals, Img, E621
|
||||
|
||||
|
||||
db = Database()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import sys
|
||||
import discord
|
||||
from discord.gateway import _log
|
||||
from lynxie.config import LYNXIE_PREFIX
|
||||
from .config import LYNXIE_PREFIX
|
||||
|
||||
|
||||
async def mobile_status(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue