refactor: ♻️ Fixed more code smells

More code smells fixed
This commit is contained in:
Axel Olausson Holtenäs 2022-12-13 14:39:33 +01:00
parent 05e7cbba6e
commit dd3d262a01

View file

@ -35,7 +35,6 @@ export default {
`${author.username} sent the last message therefor not allowing again.` `${author.username} sent the last message therefor not allowing again.`
); );
await message.delete(); await message.delete();
return false;
} }
if (content !== channelCounter.triggerWord) { if (content !== channelCounter.triggerWord) {
@ -44,7 +43,6 @@ export default {
); );
await message.delete(); await message.delete();
return false;
} }
const updateGuildCounter = await prisma.guildCounter.update({ const updateGuildCounter = await prisma.guildCounter.update({