fix ephermal argument in the note command

This commit is contained in:
2025-05-10 15:15:12 +02:00
parent 45fa8abeec
commit 061cdf4f2a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
<groupId>me.youhavetrouble.noted</groupId>
<artifactId>Noted</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<developers>
<developer>
@@ -84,7 +84,7 @@
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.5.0</version>
<version>5.5.1</version>
<exclusions>
<exclusion>
<groupId>club.minnced</groupId>
@@ -34,7 +34,7 @@ public class NoteCommand extends Command {
.setIntegrationTypes(IntegrationType.GUILD_INSTALL, IntegrationType.USER_INSTALL)
.addOptions(
new OptionData(OptionType.STRING, "alias", "The ID of the note", true, true),
new OptionData(OptionType.BOOLEAN, "ephermeal", "Whether the note should be ephermal", false)
new OptionData(OptionType.BOOLEAN, "ephemeral", "Whether the note should be ephemeral", false)
)
.setContexts(InteractionContextType.BOT_DM, InteractionContextType.GUILD, InteractionContextType.PRIVATE_CHANNEL)
).queue();