fix ephermal argument in the note command
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>me.youhavetrouble.noted</groupId>
|
<groupId>me.youhavetrouble.noted</groupId>
|
||||||
<artifactId>Noted</artifactId>
|
<artifactId>Noted</artifactId>
|
||||||
<version>1.0.1</version>
|
<version>1.0.2</version>
|
||||||
|
|
||||||
<developers>
|
<developers>
|
||||||
<developer>
|
<developer>
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.dv8tion</groupId>
|
<groupId>net.dv8tion</groupId>
|
||||||
<artifactId>JDA</artifactId>
|
<artifactId>JDA</artifactId>
|
||||||
<version>5.5.0</version>
|
<version>5.5.1</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>club.minnced</groupId>
|
<groupId>club.minnced</groupId>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class NoteCommand extends Command {
|
|||||||
.setIntegrationTypes(IntegrationType.GUILD_INSTALL, IntegrationType.USER_INSTALL)
|
.setIntegrationTypes(IntegrationType.GUILD_INSTALL, IntegrationType.USER_INSTALL)
|
||||||
.addOptions(
|
.addOptions(
|
||||||
new OptionData(OptionType.STRING, "alias", "The ID of the note", true, true),
|
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)
|
.setContexts(InteractionContextType.BOT_DM, InteractionContextType.GUILD, InteractionContextType.PRIVATE_CHANNEL)
|
||||||
).queue();
|
).queue();
|
||||||
|
|||||||
Reference in New Issue
Block a user