3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

search: don't throw an error if the search results message is removed before the reactions are removed

This commit is contained in:
Dragory 2020-01-12 17:16:18 +02:00
parent 5a0f8badca
commit bec583f96a
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -608,7 +608,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
});
clearReactionsFn = async () => {
searchMsg.removeReactions();
searchMsg.removeReactions().catch(noop);
removeListenerFn();
};
}