Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/th3shadowbroker/dischook
- Owner: Th3Shadowbroker
- License: mit
- Created: 2019-02-13T15:55:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-14T18:06:34.000Z (over 1 year ago)
- Last Synced: 2024-05-01T15:23:28.294Z (7 months ago)
- Topics: discord, java, json, webhooks
- Language: Java
- Size: 50.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
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
```xmlth3shadowbroker-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)