Skip to content

Commit 7284dd1

Browse files
author
Manuel
committed
fix: consistent void
1 parent b33a89b commit 7284dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/recurringMessage/recurringMessage.helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const isFrequency = (frequency: string): frequency is Frequency => {
3535

3636
export const hasPermission = (interaction: ChatInputCommandInteraction) => {
3737
if (!isModo(interaction.member)) {
38-
interaction.reply('You are not allowed to use this command').catch(console.error);
38+
void interaction.reply('You are not allowed to use this command');
3939
return false;
4040
}
4141
return true;

0 commit comments

Comments
 (0)