https://github.com/mhommet/DiscordBOT
A discord bot made for fun with discord.py
https://github.com/mhommet/DiscordBOT
bot discord discord-py python
Last synced: about 1 year ago
JSON representation
A discord bot made for fun with discord.py
- Host: GitHub
- URL: https://github.com/mhommet/DiscordBOT
- Owner: mhommet
- Created: 2024-03-01T19:26:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-17T14:41:11.000Z (over 1 year ago)
- Last Synced: 2025-02-17T05:14:14.302Z (over 1 year ago)
- Topics: bot, discord, discord-py, python
- Language: Python
- Homepage:
- Size: 33 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
- [FR](https://github.com/Milan144/KomradeBOT?tab=readme-ov-file#french)
- [EN](https://github.com/Milan144/KomradeBOT?tab=readme-ov-file#english)
# French
## Installation et lancement
Définir les variables d'environnement dans un fichier .env -> comme l'exemple dans le .env.example
```docker compose up -d --build```
## Fonctionnalités
-> Musique (Lecture depuis youtube)
-> Commandes funs
-> D'autres commandes utilitaires, d'administration et fun a venir...
#### Liste des commandes disponibles:
**Musique**
```
$play /: Joue de la musique depuis Youtube
$play_song
$queue: Montre la file d'attente
$pause: Met en pause la musique
$resume: Remet en route la musique
$skip: Passe à la musique suivante
$leave: Quitte le channel vocal
$clear: Stop la musique et vide la file d'attente
```
**Fun**
```
$chat : Pose une question à KomradeBOT (OpenAI API) and get the answer by TTS in voice channel (Il faut avoir mis un token OpenAI API dans le .env)
$magic: Fais disparaitre quelqun du channel vocal (1h de cooldown)
$ano : Envoie un message anonyme
$roulette: Roulette russe (5s de cooldown)
```
**Utilitaires**
```
$help: Affiche la liste des commandes
```
## Informations supplémentaires
* Le bot utilise l'API OpenAI pour la commande `$chat`, vous devez donc disposer d'un jeton d'API pour l'utiliser.
# English
## Installation and Launching
Set environment variables in a .env file -> like the example in .env.example
`docker compose up -d --build`
## Features
-> Music (Playing from YouTube)
-> Fun commands
-> More utility, administration and fun commands to come...
### List of available commands:
**Music**
```
$play /: Plays music from YouTube
$play_song
$queue: Shows the queue
$pause: Pauses the music
$resume: Resumes the music
$skip: Skips to the next song
$leave: Leaves the voice channel
$clear: Stops the music and clears the queue
```
**Fun**
```
$chat : Asks KomradeBOT a question (OpenAI API) and get the answer by TTS in voice channel (You need to have set an OpenAI API token in the .env)
$magic: Makes someone disappear from the voice channel (1h cooldown)
$ano : Sends an anonymous message
$roulette: Russian roulette (5s cooldown)
```
**Utilities**
```
$help: Displays the list of commands
```
## Additional Information
* The bot uses the OpenAI API for the $chat command, so you need to have an API token to use it.