mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 08:34:15 +02:00
ci(arabot): change restrict and ban to be ephemeral
This commit is contained in:
parent
92b6c2da38
commit
fbae131e4e
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user