3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +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 4c404aa2a3
commit 0a92680a30

View file

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