semvec/pypi-packages huggingface dataset:
spidee 0.1.1
A command line interface for Discord webhooks
License: MIT
Requires Python: >=3.6.2,<4

# spidee
Uncomplicated CLI tool for using Discord webhooks from the terminal or in shell scripts. Can send, edit, delete messages with plain text, embeds, and/or files with a custom username and avatar.

## Installation
### Binary
Download the latest binary in [Releases](https://github.com/finitefish/spidee/releases) and run:
```
$ ./spidee
```
Currently, only Linux and Windows are supported.
### PyPI
Install via pip:
```
$ pip install spidee
```
Run as a module or executable if `$PATH` is configured:
```
$ python -m spidee
### or ###
$ spidee
``` 
### Manual
Install Python (shipped with most Linux distributions out of the box), `pip`, and `urllib3` if not already installed:
```
$ pip install urllib3
```
Clone this repository and run spidee as a module:
```
$ git clone https://github.com/finitefish/spidee
$ python -m spidee
```

## Usage
```
usage: spidee [-h] [--verbose] [--debug] id token {send,edit,delete} ...

A command line interface for Discord webhooks

positional arguments:
  id
  token
  {send,edit,delete}

options:
  -h, --help          show this help message and exit
  --verbose
  --debug
```

## Examples
Send a plain text message:
```
$ spidee [id] [token] send --content "Hello world"
```

![Example](https://i.imgur.com/StcSzjD.png)

Send an embed with a custom avatar:
```
$ spidee [id] [token] send --avatar-url "https://opensource.org/files/OSI_Standard_Logo_100X130.png" --embed-title "This is an embed" --embed-fields "Field title","Some value" "Another field","Some value"
```

![Example](https://i.imgur.com/TtXk3j2.png)

ID and token can be obtained from webhook URL (`https://discord.com/api/webhooks/ID/TOKEN`)