cheetahsweater / xyl-q

General utility Discord bot based on XyL-Q from Cookie Run!
0 stars 0 forks source link

Add error handling for EmptyEmbed error with Mudae #14

Closed cheetahsweater closed 8 months ago

cheetahsweater commented 8 months ago

It seems like this error occurs whenever it picks up a Mudae message that has no embed, which is strange because I thought I had it check whether or not there's an embed on the message.

Traceback (most recent call last): File "xylq.py", line 338, in on_message AttributeError: '_EmptyEmbed' object has no attribute 'casefold'

cheetahsweater commented 8 months ago

whoops i fixed this like a million years ago lol https://github.com/cheetahsweater/xyl-q/commit/4fea0062b7f01f9c5b3cdeee4628462ab21b9093