Skip to content

Commit d42e861

Browse files
committed
refactor: use ephemeral message flag instead of ephemeral boolean
1 parent b24bd9c commit d42e861

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/commands/config/gateway.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { PermissionFlagsBits, TextInputStyle } from "discord.js";
1+
import { MessageFlags, PermissionFlagsBits, TextInputStyle } from "discord.js";
22
import { GuildSchema } from "../../schemas/guild.ts";
33
import { createConfigurationManifest } from "../../structures/index.ts";
44
import { ConfigurationMessage } from "../../structures/index.ts";
@@ -57,7 +57,7 @@ const ConfigCommand: Command = {
5757
if (!interaction.inGuild()) {
5858
interaction.reply({
5959
content: "Run this command in a server to get server info",
60-
ephemeral: true,
60+
flags: MessageFlags.Ephemeral,
6161
});
6262
return;
6363
}

0 commit comments

Comments
 (0)