0.0.12 • Published 5 years ago

web.discord v0.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

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")
0.0.12

5 years ago

0.0.10

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.5

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago