Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.
/ Butterfly Public archive

🦋 Discord API Framework for JDA built in Kotlin

License

Notifications You must be signed in to change notification settings

NinoDiscord/Butterfly

Repository files navigation

🦋 | Butterfly Kotlin CI with Gradle Download

🦋 | Discord API Framework for JDA built in Kotlin

How to use

Documentation

Master: https://docs.augu.dev/-butterfly

Stable: https://docs.augu.dev/stable/-butterfly

Adding as dependency:

Fetch the version from the badge.

Add dependency using Gradle

Groovy DSL:

repositories {
    jcenter()
}

dependencies {
    implementation 'dev.augu.nino:Butterfly:VERSION'
}

Kotlin DSL:

repositories {
    jcenter()
}

dependencies {
    implementation("dev.augu.nino:Butterfly:VERSION")
}

Add dependency using Maven

build.xml:

...
<repositories>
    <repository>
      <id>jcenter</id>
      <url>https://jcenter.bintray.com/</url>
    </repository>
</repositories>
...
...
<dependency>
  <groupId>dev.augu.nino</groupId>
  <artifactId>Butterfly</artifactId>
  <version>VERSION</version>
  <type>pom</type>
</dependency>
...

Add dependency using Ivy

ivysettings.xml:

...
<resolvers>
    <chain name="chain"> 
        <!-- https://jcenter.bintray.com/ -->
        <bintray />
            <!-- https://bintray.com/dondishorg/oss-maven     -->
            <!-- https://dl.bintray.com/dondishorg/oss-maven-->
            <bintray subject="dondishorg" repo="oss-maven"/>
    </chain>
</resolvers>
...
...
<dependency org='dev.augu.nino' name='Butterfly' rev='VERSION'>
  <artifact name='Butterfly' ext='pom' ></artifact>
</dependency>
...

Contributing

WIP

Examples

You can see the Examples directory on GitHub.