Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/th3shadowbroker/dischook

A basic implementation of discords webhook-api.
https://github.com/th3shadowbroker/dischook

discord java json webhooks

Last synced: 2 days ago
JSON representation

A basic implementation of discords webhook-api.

Awesome Lists containing this project

README

        

## DiscHook
[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FTh3Shadowbroker%2FDiscHook%2Fbadge&style=flat)](https://actions-badge.atrox.dev/Th3Shadowbroker/DiscHook/goto)
[![Quality Gate Status](https://sonar.th3shadowbroker.dev/api/project_badges/measure?project=io.m4taiori.discord%3Adischook&metric=alert_status)](https://sonar.th3shadowbroker.dev/dashboard?id=io.m4taiori.discord%3Adischook)

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

[Download latest version](https://m4taiori.io/?download=dischook)

### Example implementation
````java
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
```xml

th3shadowbroker-releases
https://nexus.m4taiori.io/repository/th3shadowbroker-releases/

io.m4taiori.discord
dischook
1.0.0

```

### 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

[](https://patreon.com/m4taiori)

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

[Twitter](https://twitter.com/m4taiori)

[M4taiori.io (Email or Discord)](https://m4taiori.io/#contact)