discordjs / Commando

Official command framework for discord.js
Apache License 2.0
496 stars 242 forks source link

Editing a message doesn't trigger the command consistently #352

Closed cocoliliace closed 3 years ago

cocoliliace commented 3 years ago

Error

Editing a message only triggers the command every second time

Example

In this screenshot, I sent a command to evaluate 1, and edited it to 2, 3, 4, and 5 in that order. It only triggered every second time

This is not caused by editing the message too quickly and causing an API abuse, as I've tested editing them long after sending the message and the same behaviour occurs.

How to reproduce?

  1. Send anything that triggers a response, such as <prefix>help
  2. Edit the message (<prefix>help) to different commands a few times

You should see that only every second edits trigger the commands

dragonfire535 commented 3 years ago

I don't seem to be able to reproduce this.