bugfix: await reaction removal

This commit is contained in:
Baipyrus 2024-04-04 09:40:23 +02:00
parent db898a2a36
commit 9091e1c023

View File

@ -34,7 +34,7 @@ export async function execute(reaction, user) {
if (rep === null) { if (rep === null) {
// Remove reaction and quit // Remove reaction and quit
try { try {
reaction.remove(); await reaction.remove();
} catch (error) { } catch (error) {
// Missing permissions // Missing permissions
console.error(error); console.error(error);