Fix Image command

Mobile status
This commit is contained in:
Michał Gdula 2023-09-09 00:45:26 +01:00
parent dd3b322e68
commit 7b7f30067b
3 changed files with 89 additions and 19 deletions

View file

@ -2,13 +2,16 @@ import asyncio
import discord
from discord.ext import commands
from discord.gateway import DiscordWebSocket
from lynxie.config import DISCORD_TOKEN, LYNXIE_PREFIX
from lynxie.commands import Help, Ping, Hello, Music, Animals, Img
from lynxie.database import CommandHistory, Database
from lynxie.utils import mobile_status
db = Database()
DiscordWebSocket.identify = mobile_status
lynxie = commands.Bot(
intents=discord.Intents.all(),
command_prefix=LYNXIE_PREFIX,
@ -50,10 +53,10 @@ async def on_message_edit(before, after):
):
return
await before.channel.send(
f"@{before.author} edited their message!!!\n"
f'"{before.content}" --> "{after.content}"'
)
# await before.channel.send(
# f"@{before.author} edited their message!!!\n"
# f'"{before.content}" --> "{after.content}"'
# )
async def run():