Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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.

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.x

To 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!");
```