anime-crossing / man-chan

A collaborative effort between friends. Multipurpose Discord Bot written in Python.
MIT License
2 stars 1 forks source link

Hotfix Elon Fix + Cleanup #44

Closed ssumachai closed 9 months ago

ssumachai commented 9 months ago

Close re-open #42

Error Below:

Ignoring exception in on_message
Traceback (most recent call last):
  File "C:\Users\chai\Desktop\man-chan\venv\lib\site-packages\disnake\client.py", line 703, in _run_event
    await coro(*args, **kwargs)
  File "C:\Users\chai\Desktop\man-chan\cogs\mediaconverter.py", line 32, in on_message
    await message.reply(content=description, mention_author=False)
  File "C:\Users\chai\Desktop\man-chan\venv\lib\site-packages\disnake\message.py", line 2117, in reply
    return await self.channel.send(content, reference=reference, **kwargs)
  File "C:\Users\chai\Desktop\man-chan\venv\lib\site-packages\disnake\abc.py", line 1748, in send
    data = await state.http.send_message(
  File "C:\Users\chai\Desktop\man-chan\venv\lib\site-packages\disnake\http.py", line 415, in request
    raise HTTPException(response, data)
disnake.errors.HTTPException: 400 Bad Request (error code: 50006): Cannot send an empty message
Traceback (most recent call last):