All Projects → jb3 → Webhook Discord

jb3 / Webhook Discord

Licence: mit
A simple Javascript file for nicely formatting Discord webhooks

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Webhook Discord

Calypsobot
A fully customizable bot built with discord.js
Stars: ✭ 131 (+61.73%)
Mutual labels:  utility, discord
Length.js
📏 JavaScript library for length units conversion.
Stars: ✭ 292 (+260.49%)
Mutual labels:  utility, npm-package
Discord Image Downloader Go
A simple tool which downloads pictures posted in discord channels of your choice to a local folder.
Stars: ✭ 210 (+159.26%)
Mutual labels:  utility, discord
Discord Webhooks
A simple lightweight Discord webhook client library.
Stars: ✭ 36 (-55.56%)
Mutual labels:  webhooks, discord
Tooltip Sequence
A simple step by step tooltip helper for any site
Stars: ✭ 287 (+254.32%)
Mutual labels:  utility, npm-package
Vk2discord
🔧 Автоматическая публикация записей из группы или профиля VK.COM в канал Discord
Stars: ✭ 45 (-44.44%)
Mutual labels:  webhooks, discord
Ptt Client
A Node.js/Browser client for fetching data from ptt.cc
Stars: ✭ 78 (-3.7%)
Mutual labels:  npm-package
Figaro
Real-time voice-changer for voice-chat, etc. Will support many different voice-filters and features in the future. 🎵
Stars: ✭ 80 (-1.23%)
Mutual labels:  discord
Nullctf
A Discord bot that provides ctf tools for collaboration in Discord servers!
Stars: ✭ 78 (-3.7%)
Mutual labels:  discord
Discordrpcvs
An extension for Visual Studio 2017 that enables Discord Rich Presence.
Stars: ✭ 77 (-4.94%)
Mutual labels:  discord
Open Sourcebot
An open source Discord bot created and run by TheSourceCode community.
Stars: ✭ 81 (+0%)
Mutual labels:  discord
Betterdiscordapp
Better Discord App enhances Discord desktop app with new features.
Stars: ✭ 1,225 (+1412.35%)
Mutual labels:  discord
Betterdiscord Plugins
Assorted small plugins for BetterDiscord
Stars: ✭ 79 (-2.47%)
Mutual labels:  discord
Sax
Java implementation of SAX, HOT-SAX, and EMMA
Stars: ✭ 78 (-3.7%)
Mutual labels:  discord
Homebridge Pihole
Pihole switch for Homebridge
Stars: ✭ 80 (-1.23%)
Mutual labels:  npm-package
Misaki
Misaki is Discord Bot designed for communities with commands ranging from gif based anime reactions, to head scratching trivia commands.
Stars: ✭ 78 (-3.7%)
Mutual labels:  discord
Sift.js
Use Mongodb queries in JavaScript
Stars: ✭ 1,229 (+1417.28%)
Mutual labels:  utility
Minimal Feedback
🗳 minimal-feedback is a blazingly fast and highly customizable component to get user feedback.
Stars: ✭ 78 (-3.7%)
Mutual labels:  npm-package
Minicache
📦 Python memory caching utilities
Stars: ✭ 79 (-2.47%)
Mutual labels:  utility
Babel Plugin Captains Log
Babel plugin that injects helpful details into console statements
Stars: ✭ 80 (-1.23%)
Mutual labels:  utility

Discord Webhooks

version npm

A simple Javascript file for nicely formatting Discord webhooks

See the full documentation at jb3.github.io/webhook-discord

Usage

It's simple

To initialise:

const webhook = require("webhook-discord")

const Hook = new webhook.Webhook("WEBHOOK URL")

Presets

To send an info message:

Hook.info("WEBHOOK NAME","Info")

To send a warning message:

Hook.warn("WEBHOOK NAME", "Warning message")

To send an error message:

Hook.err("WEBHOOK NAME","Error")

To send a success message:

Hook.success("WEBHOOK NAME","Yay we did something right")

Custom messages

To send custom messages, you should make use of the MessageBuilder.

See all the options on the documentation

const webhook = require("webhook-discord");

const Hook = new webhook.Webhook("WEBHOOK URL");

const msg = new webhook.MessageBuilder()
                .setName("Username")
                .setColor("#aabbcc")
                .setText("This is my webhook!");
Hook.send(msg);

Installation

Either use npm:

npm install webhook-discord

Or clone from source:

git clone https://github.com/jb3/webhook-discord.git

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].