Add Images command

Clean up Animals command
This commit is contained in:
Michał Gdula 2023-09-08 21:53:33 +01:00
parent 68d638c7ee
commit 4e685393de
12 changed files with 283 additions and 27 deletions

View file

@ -3,19 +3,18 @@ import asyncio
import discord
from discord.ext import commands
from lynxie.config import DISCORD_TOKEN, LYNXIE_PREFIX, LYNXIE_DB
from lynxie.commands import Help, Ping, Hello, Music, Animals
from lynxie.config import DISCORD_TOKEN, LYNXIE_PREFIX
from lynxie.commands import Help, Ping, Hello, Music, Animals, Img
from lynxie.database import CommandHistory, Database
db = Database()
lynxie = commands.Bot(
intents=discord.Intents.all(),
command_prefix=LYNXIE_PREFIX,
help_command=None,
)
db = Database()
@lynxie.event
async def on_ready():
@ -56,8 +55,6 @@ async def on_message_edit(before, after):
f'"{before.content}" --> "{after.content}"'
)
# await lynxie.process_commands(after)
async def run():
async with lynxie:
@ -66,6 +63,7 @@ async def run():
await lynxie.add_cog(Hello(lynxie))
await lynxie.add_cog(Music(lynxie))
await lynxie.add_cog(Animals(lynxie))
await lynxie.add_cog(Img(lynxie))
await lynxie.start(DISCORD_TOKEN)