web.discord

0.0.12 • Public • Published

Links

CLI
Releases
File Usage
Introduction



Introduction

web.Discord is a simple webhook utility, currently under development. This allows you to create a webhook in one file, and send it in another.

Releases

README Updates
| V0.0.3 | V0.0.6 | V0.0.7 | V0.0.8 | V0.0.9 | V0.0.10 | V0.0.11 | V0.0.12 |
Code Updates
Bugs
| V0.0.4 Bugs: -m or --message tag taking only one argument. |
| V0.0.5 CLI Update, should hopefully fix the bug. |
| V0.0.6 CLI Update, successfully fixed the bug, however There is new usage, please read CLI documentation by clicking the hyper link. |
V0.0.1
Public release
V0.0.2
CLI release
V.0.04
CLI Update Bugs: -m or --message tag taking only one argument.
V.0.0.5
CLI Update, should hopefully fix the bug
V0.0.6
CLI Update, successfully fixed the bug, however There is new usage, please read CLI documentation by clicking the hyper link. This also comes with a README update

CLI

Here are some examples.

send -m "My message here!" -t WebhookToken -i WebhookID 

Here is another

send --message "My message here" --token WebhookToken --id WebhookID

The CLI help menu

Usage: -t <token> -i <id> -m <message> -p <preset>

Options:
  --help         Show help                                             [boolean]
  --version      Show version number                                   [boolean]
  -t, --token    Webhook Token                               [string] [required]
  -i, --id       Webhook ID                                  [string] [required]
  -m, --message  Webhook Message                             [string] [required]
  -p, --preset   Webhook Preset                                         [string]

File Usage

File1.js

const web = require("web.discord")
web.initWebhook("ID","TOKEN")

File2.js

const web = require("web.discord")
web.send("message")

Package Sidebar

Install

npm i web.discord

Weekly Downloads

4

Version

0.0.12

License

ISC

Unpacked Size

4.3 kB

Total Files

4

Last publish

Collaborators

  • salvage_dev