Fixed bug in message collector.

This commit is contained in:
Keanu Timmermans 2021-04-12 20:46:20 +02:00
parent dd572e637d
commit 6243570eb3
Signed by: keanucode
GPG key ID: A7431C0D513CA93B

View file

@ -23,7 +23,7 @@ export default new NamedCommand({
);
collector.on("end", () => {
react.users.remove(msg.author);
if (!msg.deleted) react.users.remove(msg.author);
});
}
})