1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-09 20:22:47 +01:00

Update reactions.ts

This commit is contained in:
Rainb0w :3 2023-04-10 20:26:00 -06:00 committed by GitHub
parent 2c067969a0
commit 88031fd0b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,8 @@ router.delete(
already_added.count--;
if (already_added.count <= 0) message.reactions.remove(already_added);
else already_added.user_ids.splice(already_added.user_ids.indexOf(user_id), 1);
else
already_added.user_ids.splice(already_added.user_ids.indexOf(user_id), 1);
await message.save();