Just-Some-Bots / MusicBot

:musical_note: The original MusicBot for Discord (formerly SexualRhinoceros/MusicBot)
https://just-some-bots.github.io/MusicBot/
MIT License
3.12k stars 2.35k forks source link

Weird Error On Command Execution #2290

Closed Catchii closed 2 years ago

Catchii commented 2 years ago

What went wrong?

When I Run An Command I Get An Weird Error

[ERROR:bot] Exception in on_message

This Happens on every command i run Messages With No Embeds Work Fine But Commands Like Help Wont Send Anything

even On Text ( Like play or search command ) Command i Still Get The Error

(look at the log)

How do we reproduce this?

musicbot.log

Log Of The Error

[ERROR:bot] Exception in on_message Traceback (most recent call last): File "C:\Users\justi\Desktop\discord bot\bot\MusicBot\musicbot\bot.py", line 4064, in on_message content = self._gen_embed() File "C:\Users\justi\Desktop\discord bot\bot\MusicBot\musicbot\bot.py", line 1361, in _gen_embed icon_url=self.user.avatar_url, AttributeError: 'ClientUser' object has no attribute 'avatar_url'

Which version of the bot are you using?

release-151221

Which operating system are you using?

Windows 7 or higher

Just checking...

AleanaA commented 2 years ago

Please provide the output of python -m discord --version

Catchii commented 2 years ago
AleanaA commented 2 years ago

Musicbot at this time does not support the alpha version of d.py or py-cord. Please ensure you're using the version released on PyPi. python -m pip uninstall py-cord python -m pip install py-cord