Skip to content

Fix replies erroring out for invalid Ids

Mateusz Brawański requested to merge github/fork/VelvetThePanda/master into master

Created by: VelvetThePanda

Make sure you familiarize yourself with our contributing guidelines.

Summary

As noted here, Discord added a new field to messages which indicates whether replies should be sent as a normal message or error out.

Details

Yes

Changes proposed

  • Add a boolean property (which has a default value of false) to prevent Discord from erroring out if a reply does not exist.

Notes

This could actually happen for a number of reasons, for example, a message getting deleted during command execution.

Merge request reports

Loading