refactor: ♻️ Fixed more code smells
I have fixed more code smells
This commit is contained in:
parent
f022632de4
commit
2c6ec5ee2e
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,7 @@ export default {
|
|||
`${author.username} sent the last message therefor not allowing again.`
|
||||
);
|
||||
await message.delete();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (content !== channelCounter.triggerWord) {
|
||||
|
@ -43,6 +44,7 @@ export default {
|
|||
);
|
||||
|
||||
await message.delete();
|
||||
return false;
|
||||
}
|
||||
|
||||
const updateGuildCounter = await prisma.guildCounter.update({
|
||||
|
|
Loading…
Add table
Reference in a new issue