We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33a89b commit 7284dd1Copy full SHA for 7284dd1
src/modules/recurringMessage/recurringMessage.helpers.ts
@@ -35,7 +35,7 @@ export const isFrequency = (frequency: string): frequency is Frequency => {
35
36
export const hasPermission = (interaction: ChatInputCommandInteraction) => {
37
if (!isModo(interaction.member)) {
38
- interaction.reply('You are not allowed to use this command').catch(console.error);
+ void interaction.reply('You are not allowed to use this command');
39
return false;
40
}
41
return true;
0 commit comments