smcclennon/SongID

Error when editing audio message [minor]

norz opened this issue · 4 comments

norz commented

SongID worked well to recognize the song from the audio message, however when I edited the audio message to add additional information for myself, the bot detected the change, and output an error message:
⚠️ An error occured, sorry for any inconvenience caused.
The developer has been notified and will look into this issue as soon as possible.”

norz commented

PS: thanks 🙏 again for the bot, it’s very useful! 👍 😊.

Could you please provide me with the date and time the error occured, along with your timezone?

norz commented

Sure! Here is one: 2020-05-09 12:38 UTC+3
(Not the original occurrence, but a reproduction of the behavior.)

(Sorry for thé late reply, I was away from my mailbox.)

Added attribute checks to avoid attempting to send message contents (of a message which has been edited) to the developer (commit #49b05f5)