SKILL SISUE

This commit is contained in:
Lea 2023-03-20 21:30:58 +01:00
parent 7460487cc1
commit e95d452e89
Signed by: Lea
GPG key ID: 1BAFFE8347019C42

View file

@ -333,6 +333,8 @@ client.on('message', async (message) => {
if (!db.data?.blocked.includes(user._id)) db.data?.blocked.push(user._id); if (!db.data?.blocked.includes(user._id)) db.data?.blocked.push(user._id);
} }
await db.write();
await message.reply({ embeds: [ await message.reply({ embeds: [
embed("Users trolled successfully", undefined, "SUCCESS"), embed("Users trolled successfully", undefined, "SUCCESS"),
] }); ] });
@ -347,6 +349,8 @@ client.on('message', async (message) => {
if (db.data?.blocked.includes(user._id)) db.data.blocked = db.data.blocked.filter(u => u != user._id); if (db.data?.blocked.includes(user._id)) db.data.blocked = db.data.blocked.filter(u => u != user._id);
} }
await db.write();
await message.reply({ embeds: [ await message.reply({ embeds: [
embed("Users untrolled successfully", undefined, "SUCCESS"), embed("Users untrolled successfully", undefined, "SUCCESS"),
] }); ] });