Skip to content

Simple Discord [...] (I mean Twitch) Command Framework for Java

License

Notifications You must be signed in to change notification settings

twitch4j/sdcf4j-twitch

Repository files navigation

sdcf4j-twitch

Sdcf4j is a simple Discord command framework for Java, supporting Javacord, JDA, Discord4J and now Twitch4J. It helps you creating commands within seconds in a clean and simple way.

A ping command is as easy as this:

@TwitchCommand(aliases = "ping", description = "Pong!")
public String onPingCommand() {
    return "Pong!";
}

Maven

<repository>
  <id>jitpack.io</id>
  <url>https://jitpack.io</url>
</repository>
...
<!-- The module for Twitch4J -->
<dependency>
  <groupId>com.github.twitch4j</groupId>
  <artifactId>sdcf4j-twitch</artifactId>
  <version>%version%</version>
</dependency>

Make sure to replace %version% with the latest version number, e.g. v1.0.0 (don't use this one!).

Support

Usage

Take a look at the wiki for a detailed description on how to use the library.

Current annotation is supported for Twitch4J script. Don't even try use @Command annotation. It would not add some methods when doesn't have @TwitchCommand annotation

Creator of Core script sdcf4j

Checkout referenced repository.

About

Simple Discord [...] (I mean Twitch) Command Framework for Java

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages