SinisterRectus / Discordia

Discord API library written in Lua for the Luvit runtime environment
MIT License
697 stars 143 forks source link

Update message.lua (Prevent bot from crashing when a sticker or wave is sent) #318

Closed Richy-Z closed 2 years ago

Richy-Z commented 2 years ago

Discord added a new feature called "wave", where a user gets to send a waving sticker when someone else joins a guild. When that wave is sent, it causes the bot to spontaneously crash because Discordia didn't know who the wave mentioned. Pretty sure that this is the solution because I tried it and it stopped my bot from crashing when the wave is sent.

truemedian commented 2 years ago

This was fixed in 10f94b879b28bb135b07ede0add3b87491a209c8

Richy-Z commented 2 years ago

Thanks, didn't realise that. I'll close the pull request.