ci(arabot): change restrict and ban to be ephemeral

This commit is contained in:
smyalygames 2023-04-01 23:30:43 +01:00
parent 92b6c2da38
commit fbae131e4e
4 changed files with 4 additions and 4 deletions

View File

@ -77,7 +77,7 @@ export class BanCommand extends Command {
return;
}
await interaction.deferReply();
await interaction.deferReply({ ephemeral: true });
const ban = await this.ban(user.id, mod.id, reason, guild);

View File

@ -89,7 +89,7 @@ export class TempBanCommand extends Command {
return;
}
await interaction.deferReply();
await interaction.deferReply({ ephemeral: true });
const ban = await this.ban(user.id, mod.id, time, reason, guild);

View File

@ -316,7 +316,7 @@ export class RestrictCommand extends Command {
return;
}
await interaction.deferReply();
await interaction.deferReply({ ephemeral: true });
const info = await restrictRun(user?.id, mod.id, reason, guild);

View File

@ -68,7 +68,7 @@ export class RestrictToleranceCommand extends Command {
return;
}
await interaction.deferReply();
await interaction.deferReply({ ephemeral: true });
const info = await restrictRun(user?.id, mod.id, reason, guild, true);