https://github.com/magonxesp/magobot
Bot magico para telegram
https://github.com/magonxesp/magobot
4chan funny golang telegram telegram-bot-api telegram-bots
Last synced: 4 months ago
JSON representation
Bot magico para telegram
- Host: GitHub
- URL: https://github.com/magonxesp/magobot
- Owner: magonxesp
- Created: 2018-05-22T12:20:48.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2025-09-08T15:41:50.000Z (10 months ago)
- Last Synced: 2025-09-08T17:26:26.864Z (10 months ago)
- Topics: 4chan, funny, golang, telegram, telegram-bot-api, telegram-bots
- Language: Go
- Homepage: http://telegram.me/Magonx_Bot
- Size: 2.88 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MagoBot
MagoBot, un bot magico para telegram.
Requiere Go >= 1.23
## Instalacion
1. Clonar este repositorio
```shell script
$ git clone https://github.com/MagonxESP/MagoBot.git && cd MagoBot
```
2. Crear el fichero ``.env``
```shell script
$ cp .env.template .env
```
3. Añadir la variable de entorno ``MAGOBOT_TOKEN`` en el fichero ``.env``
```shell script
MAGOBOT_TOKEN=bot_token
```
## Arranque del bot
### Con docker (recomendado)
* Crear los contenedores usando ``docker-compose`` e iniciar el bot
```shell script
$ docker-compose up -d --build
```
### Sin docker, compilando y ejecutando
1. Compilar con make
```shell script
$ make build
```
2. Iniciar el bot
```shell script
./build/magobot
```
## Comandos
* **/start** - MagoBot te saluda.
* **/roll** - Genera un numero aleatorio del 0 al 100, se puede cambiar el numero maximo con /roll 50 por ejemplo.
* **/rule34** - Muestra un post aleatorio de rule34 de un tag, por ejemplo /rule34 tag.
* **/4chanrandomwthread** - Muestra un thread aleatorio de 4chan del board W ademas de una imagen aleatoria de algun post del thread aleatorio.
* **/4chanrandombthread** - Muestra un thread aleatorio de 4chan del board B.
* **/4chanrandomhentaithread** - Muestra un thread aleatorio de 4chan del board H ademas de una imagen aleatoria de algun post del thread aleatorio.
* **/4chanrandomecchithread** - Muestra un thread aleatorio de 4chan del board E ademas de una imagen aleatoria de algun post del thread aleatorio.
* **/drop** - Descarga el contenido de una url en un bucket en especifico.
* **/configdropper** - Configura el acceso a un dropper para poder usar el comando /drop.
* **/deletedropperconfig** - Elimina la configuracion actual del dropper.