mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-12-22 04:21:28 +01:00
ci(arabot): change restrict and ban to be ephemeral
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user