refactor: ♻️ Fixed more code smells
More code smells fixed
This commit is contained in:
parent
05e7cbba6e
commit
dd3d262a01
1 changed files with 0 additions and 2 deletions
|
@ -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({
|
||||||
|
|
Loading…
Add table
Reference in a new issue