When used in a DM, the /search command failed with an error.
This is because the bot doesn't have permission to clear the reactions of a message in a DM.
Instead, the bot now falls back to removing its own reactions one by one.
This is less efficient and results in the controls not being ordered (because the option selected by the user gets stuck), but I think this is the only way to implement this.
Relevant issue: Closes #131
Description:
When used in a DM, the
/search
command failed with an error. This is because the bot doesn't have permission to clear the reactions of a message in a DM.Instead, the bot now falls back to removing its own reactions one by one. This is less efficient and results in the controls not being ordered (because the option selected by the user gets stuck), but I think this is the only way to implement this.
Checklist: