From 394a02ebeab57a5b5debe14e9287623c6363f669 Mon Sep 17 00:00:00 2001 From: argraur Date: Wed, 6 May 2020 17:53:38 +0300 Subject: [PATCH] railgun: Release 1.0! --- README.md | 15 +++++++++++++-- build.gradle | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 353a590..b89f303 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,19 @@ git clone https://github.com/argraur/RailgunBot -b master Linux & macOS: ``` -cd RailgunBot; ./gradlew build +cd RailgunBot; ./gradlew build shadowJar ``` Windows: ``` cd RailgunBot\ -.\gradlew.bat build +.\gradlew.bat build shadowJar +``` + +### Running + +``` +java -jar build/libs/railgunbot-1.0-all.jar ``` ## Configuration @@ -91,6 +97,8 @@ Configurations are located in `src/main/resources/config.properties` file. `.kitsu search ` - Searches anime by given query. +`.level ` - Returns access level for given command. + `.mirror` - !egassem nevig sorriM `.mock` - mockS GiveN mESsAge @@ -105,6 +113,8 @@ Configurations are located in `src/main/resources/config.properties` file. `.purge ` - Purges last n messages. +`.purge ` - Purges all messages after given message link. + `.prefix ` - Changes prefix in current guild. `.sauce [attach image or pass url]` - Searches for art sauce @@ -134,6 +144,7 @@ But the bot won't give 'Muted' role any priority, so guild's admin should do it * [Gradle](https://github.com/gradle/gradle) - Build automation tool * [JDA](https://github.com/DV8FromTheWorld/JDA) - Java wrapper for Discord * [Giphy4J](https://github.com/keshrath/Giphy4J) - Java wrapper for Giphy +* [Jenkins Java Client API](https://github.com/jenkinsci/java-client-api) - Java wrapper for Jenkins * [OkHttp](https://github.com/square/okhttp) - HTTP client for Java * [ColorThief](https://github.com/SvenWoltmann/color-thief-java) - Dominant color extractor for Java * [Kitsu](https://kitsu.io) - Anime exploring site diff --git a/build.gradle b/build.gradle index b1e4417..24ac6af 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ jar { } group 'me.argraur' -version '0.5' +version '1.0' repositories { mavenCentral() @@ -32,7 +32,7 @@ dependencies { implementation("com.squareup.okhttp3:okhttp:4.5.0") implementation 'org.apache.httpcomponents:httpclient:4.5.12' implementation 'org.apache.httpcomponents:httpmime:4.5.12' - implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.10.4' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.8.6' implementation 'dom4j:dom4j:20040902.021138' implementation 'com.google.guava:guava:29.0-jre' implementation 'commons-collections:commons-collections:20040616'