Skip to content
A basic implementation of discords webhook-api.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/io/m4taiori/discord/dischook
.travis.yml
LICENSE.md
README.md
pom.xml
settings.xml

README.md

DiscHook

travis-ci-build-status

DiscHook is a basic implementation of the discord-webhook api. DiscHook uses a really simple structure and provides basic JSON support (org.json). I've also implemented basic listener/event support.

Download latest version

Example implementation

DiscordWebhook hook = new DiscordWebhook("YOUR WEBHOOKS URL");

DiscordWebhookPacket packet = DiscordWebhookPacket.createNew().setUsername("Someone").setContent("Hello World");

hook.trySendPacket( packet );

If you want to learn more about how you can implement DiscHook in your project, checkout the wiki.

Maven

<repository>
    <id>th3shadowbroker-releases</id>
    <url>https://nexus.m4taiori.io/repository/th3shadowbroker-releases/</url>
</repository>

<dependency>
    <groupId>io.m4taiori.discord</groupId>
    <artifactId>dischook</artifactId>
    <version>1.0.0</version>
</depdency>

Contributing

I made this project in my free time and I don't have the time to maintain it actively. Feel free to fork this repository and share added features or bug fixes with us through pull-requests.

License

This project is licensed under the MIT-license.

Found a bug or one of the four horsemen?

Please use the issue-tool to submit bug-reports or feature requests.

Contact & support

If you want to support me you can do so through Patreon <3

If you have any questions, problems or something else? Feel free to contact me via social-media.

Twitter

M4taiori.io (Email or Discord)

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.