Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redleague/hookgg
Hook.gg is a library for sending webhooks to Discord.
https://github.com/redleague/hookgg
discord discord-bot discordapi discordwebhook
Last synced: 2 months ago
JSON representation
Hook.gg is a library for sending webhooks to Discord.
- Host: GitHub
- URL: https://github.com/redleague/hookgg
- Owner: redleague
- Created: 2021-03-03T02:41:10.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T23:59:34.000Z (almost 2 years ago)
- Last Synced: 2024-04-26T15:21:46.875Z (9 months ago)
- Topics: discord, discord-bot, discordapi, discordwebhook
- Language: TypeScript
- Size: 336 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
![Github Stars](https://img.shields.io/github/stars/redleague/hookgg?style=for-the-badge&logo=appveyor)
![GitHub issues](https://img.shields.io/github/issues-raw/redleague/hookgg?style=for-the-badge&logo=appveyor)# About
A light-weight wrapper written in typescript for sending webhooks to discord
# Features
> ✅ Easy-to-use
> ✅ Stable
> ✅ Open Source# Installation
Recommended version Node.js 12.x.xTo install all the packages just use:
# Documentation
[Docs](https://redleague.github.io/hookgg/)
# Examples
```ts
import { HookClient } from "hook.gg";const hook = new HookClient({
url: "discord webhook url",
retryOnLimit: true
});hook.send("Hello from Hook.gg!");
```