vivinano / MudaeAutoBot

python bot that uses strictly the **Discord API** to Roll,Claim,and Kakera Snipe in Mudae. 5/10/21 project converted over to discum library
Apache License 2.0
150 stars 49 forks source link

KeyError: 'embeds' #119

Closed HentaiRyuu closed 3 years ago

HentaiRyuu commented 3 years ago

I don't know what cause this, but it didn't do anything bad except throw some error at console.

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000001DC0450E7A0>>
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\discum\gateway\gateway.py", line 300, in _response_loop
    func(resp)
  File "D:\MudaeAuto\Bot.py", line 572, in on_message
    embeds = r['embeds']
KeyError: 'embeds'
vivinano commented 3 years ago

It’s just a mudae response that doesn’t have an embed it’s fine I just don’t know what wasn’t filtered out to fix that

Sent from my iPhone

On Oct 20, 2021, at 8:15 AM, fookbuck @.***> wrote:

 I don't know what cause this, but it didn't do anything bad except throw some error at console.

Exception ignored in thread started by: <bound method GatewayServer._response_loop of <discum.gateway.gateway.GatewayServer object at 0x000001DC0450E7A0>> Traceback (most recent call last): File "C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\discum\gateway\gateway.py", line 300, in _response_loop func(resp) File "D:\MudaeAuto\Bot.py", line 572, in on_message embeds = r['embeds'] KeyError: 'embeds' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

HentaiRyuu commented 3 years ago

Thanks for reply. Should I just close this issue? Since nothing I can do about it and I just want to let you know about the error. also I don't know if this is related but I believe this error may somehow relate to pkmrolling

vivinano commented 3 years ago

okay ill check into it about pkmrolling but yes i will make note and I will close the issue just if you already havent just make sure to star the repo to show me support ^^