Skip to content
This repository has been archived by the owner on Feb 17, 2020. It is now read-only.

Commit

Permalink
Update pom & README
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMicky-FR committed Dec 4, 2018
1 parent 07c9d3d commit cb90220
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
38 changes: 37 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,44 @@
# JDACommands
Light command framework for JDA Discord bots using annotation
[![](https://jitpack.io/v/com.dev-infinity/JDACommands.svg)](https://jitpack.io/#com.dev-infinity/JDACommands)

Light command framework for JDA Discord bots using annotations

## How to use

### Adding the dependency

**Maven**
```xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
```
```xml
<dependency>
<groupId>com.dev-infinity</groupId>
<artifactId>JDACommands</artifactId>
<version>1.0</version>
</dependency>
```

**Gradle**
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
```gradle
dependencies {
implementation 'com.dev-infinity:JDACommands:1.0'
}
```

### Creating a command

Create a method and add the annotation `@CommandName`, you can also add the annotation `@CommandAlias` to add alias
Expand Down
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<artifactId>jdacommands</artifactId>
<version>1.0</version>

<name>JDACommands</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<build>
<plugins>
<plugin>
Expand Down

0 comments on commit cb90220

Please sign in to comment.