Skip to content

A simple CLI for sending messages through discord web hooks. Useful for CI messages

Notifications You must be signed in to change notification settings

ActuallyHappening/Discord-Webhook-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Webhook-CLI

A simple CLI for sending messages through discord web hooks. Useful for CI messages.

Installation

Requires cargo (and hence the rust toolchain) installed on your system. Then install from crates.io:

cargo install discord-webhook-cli

Use

# NOTE: Will run dotenv and load from .env file if it exists, OVERWRITING CLI ARGS!
DISCORD_WEBHOOK_CLI_URL="https://your-url" DISCORD_WEBHOOK_CLI_MSG="cool message" DISCORD_WEBHOOK_CLI_USERNAME="Awesome Easy Bot" discord-webhook-cli
# Or you can use the flags
# PS: RUST_LOG exists for debugging purposes
RUST_LOG="trace" discord-webhook-cli --url "https://your-url" --msg "another cool message" --username "Awesome Easy Bot"

About

A simple CLI for sending messages through discord web hooks. Useful for CI messages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages