mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-18 15:45:03 +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:
parent
4c404aa2a3
commit
0a92680a30
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
||||||
});
|
});
|
||||||
|
|
||||||
clearReactionsFn = async () => {
|
clearReactionsFn = async () => {
|
||||||
searchMsg.removeReactions();
|
searchMsg.removeReactions().catch(noop);
|
||||||
removeListenerFn();
|
removeListenerFn();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue