4 Commits

2 changed files with 5 additions and 16 deletions
+4 -15
View File
@@ -6,7 +6,7 @@
<groupId>me.youhavetrouble.noted</groupId> <groupId>me.youhavetrouble.noted</groupId>
<artifactId>Noted</artifactId> <artifactId>Noted</artifactId>
<version>1.0.0</version> <version>1.0.2</version>
<developers> <developers>
<developer> <developer>
@@ -55,10 +55,7 @@
</manifestEntries> </manifestEntries>
</transformer> </transformer>
</transformers> </transformers>
<minimizeJar>true</minimizeJar> <finalName>Noted</finalName>
<shadedArtifactAttached>false</shadedArtifactAttached>
<outputDirectory>${project.build.outputDirectory}</outputDirectory>
<finalName>${project.artifactId}-${project.version}</finalName>
<filters> <filters>
<filter> <filter>
<artifact>*:*</artifact> <artifact>*:*</artifact>
@@ -83,18 +80,11 @@
</resources> </resources>
</build> </build>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.github.freya022</groupId> <groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId> <artifactId>JDA</artifactId>
<version>feature~user-installable-apps-SNAPSHOT</version> <version>5.5.1</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<groupId>club.minnced</groupId> <groupId>club.minnced</groupId>
@@ -118,7 +108,6 @@
<groupId>com.github.ben-manes.caffeine</groupId> <groupId>com.github.ben-manes.caffeine</groupId>
<artifactId>caffeine</artifactId> <artifactId>caffeine</artifactId>
<version>3.1.8</version> <version>3.1.8</version>
<scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@@ -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();