Projet de bot en Bash pour Revolt.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
F. Y. H. 9ca8e2a81b JSON détachés 2 years ago
LICENCE.md Début 2 years ago
LICENSE Initial commit 2 years ago
README.md Manuel à jour 2 years ago
revolt_bot.py Détachement du Python 2 years ago
revolt_bot.sh Correction Bash 2 years ago
revolt_bot_Idle.json JSON détachés 2 years ago
revolt_bot_Online.json JSON détachés 2 years ago

README.md

Revolt-Bot

Projet de bot en Bash pour Revolt. …Un peu de Python aussi.

Si revolt_bot.sh est exécutable laide est disponible comme suit :

revolt_bot.sh --help

Dépendances

Ce petit bot en Bash dépend de deux outils :

cURL

cURL permet de communiquer avec lAPI de Revolt (un serveur Revolt Delta) via le HTTP. Pour linstaller via apt :

sudo apt install curl

Py-ULID

Py-ULID permet de générer des codes de type ULID sous forme de 26 caractères. Pour linstaller via pip :

pip install py-ulid

Usage

Pour envoyer un message MESSAGE via son bot le jeton didentification BOT_TOKEN et lidentifiant du salon CHANNEL_ID sont nécessaires.

revolt_bot.sh -t $BOT_TOKEN -c $CHANNEL_ID -m $MESSAGE