An open API service indexing awesome lists of open source software.

https://github.com/jjrh92/bender

Bot for Telegram/Discord
https://github.com/jjrh92/bender

discord discord-bot node nodeapp nodejs telegram telegram-bot

Last synced: 4 months ago
JSON representation

Bot for Telegram/Discord

Awesome Lists containing this project

README

          


![Github Contributors](https://img.shields.io/github/contributors/jjrh92/Bender)
![Github Stars](https://img.shields.io/github/stars/jjrh92/Bender)
![Github Issues](https://img.shields.io/github/issues-raw/jjrh92/Bender)





Logo

Welcome - Bienvenid@


Bender




View Demo - Ver Demo
·
Report Bug - Reportar Bug
·
Request Feature - Pedir Feature



About The Project Acerca del Proyecto

Telegram bot that connects with OpenAI to respond user questions using /gpt. It can give you a METAR with the /metar command, TAF with the /taf command, and weather with /weather command. It also supports a notifications system that allows you to be contacted via telegram when somebody connects to a voice channel in Discord. It also sends 2 messages a day to said telegram chat/or group chat. One with a morning joke (good morning), and one with a NASA Picture of the Day for the good night. The content of these 2 messages are totally random and are fetched from 2 different API calls.

Bot de Telegram que se conecta con OpenAI para responder preguntas de los usuarios usando /gpt. Puede proporcionarle un METAR con el comando /metar y el clima con el comando /weather. Tambien soporta un sistema de notificaciones que avisa por Telegram cuando un usuario se une a un canal de voz de Discord. Ademas envia 2 mensajes al dia a dicho chat/grupo de Telegram. Uno en la mañana con una broma de buenos dias y el otro en la noche con una foto diaria de la NASA para las buenas noches. El contenido de estos 2 mensajes son aleatorios y obtenidos de 2 diferentes llamadas a dichas APIs.


Built With Hecho Con

NodeJS, Axios, Discord.js, Express, Openai, dontenv, telegraf, checkwx, NASA (APOD).


Getting Started Comenzando

Install the project locally - Instalar el proyecto localmente.

Clone the repo and run the command npm install, then run the command npm run dev
```sh
git clone https://github.com/jjrh92/Bender.git
```

Si gustas tambien puedes ver el proyecto desplegado usando el enlace "View demo" de arriba.


Usage Uso

/metar "icao"
/taf "icao"
/clima "city"
/gpt "querie"

without the "" ;)


Contributing Contribuir

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. - Las contribuciones son lo que hace la comunidad open source increible para aprender, inspirar, y crear, todas las contribuciones *son bienvenidas*.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". - Si tienes una sugerencia para mejorar este proyecto, por favor forkea el repositorio y haz una pull request. Puedes tambien abrir un issue con el tag "mejora".

Don't forget to give the project a star! Thanks again! - No olvides darle una estrella al proyecto! Gracias de nuevo!


Contact Contacto

[Via LinkedIn](https://linkedin.com/jjrh92)

[Via Github](https://github.com/jjrh92)

[Via E-Mail](mailto:contact@julioreyes.dev)

[Via Telegram](https://t.me/jjrh92)


Acknowledgments Agradecimientos

[telegraf.js.org](https://telegraf.js.org/)
[replit.com](https://replit.com/)