mirror of
https://github.com/keanuplayz/TravBot-v3.git
synced 2024-08-15 02:33:12 +00:00
Fixed bug in message collector.
This commit is contained in:
parent
dd572e637d
commit
6243570eb3
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ export default new NamedCommand({
|
|||
);
|
||||
|
||||
collector.on("end", () => {
|
||||
react.users.remove(msg.author);
|
||||
if (!msg.deleted) react.users.remove(msg.author);
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue