Skip to content

jjrh92/Bender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Github Contributors Github Stars Github Issues


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

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

Via Github

Via E-Mail

Via Telegram

Acknowledgments Agradecimientos

telegraf.js.org replit.com