Skip to content

gabrielmaialva33/winx-ai

Repository files navigation


Winx IA
OpenAI bot for Telegram

wakatime GitHub top language GitHub language count Repository size License GitHub last commit Maia

About   |    Technologies   |    Installation   |    License


🔖 About

Winx AI is a simple and easy to use OpenAI to interact in group chats. written in Typescript.


💻 Technologies

📦 Installation

# clone the repository
git clone https://github.com/gabrielmaialva33/winx-ai.git
# enter the directory
cd winx-ai
# install the dependencies
yarn # or npm install
# copy the .env.example file to .env
cp .env.example .env
# run the bot
yarn start:dev # or pm2 start ecosystem.config.js

🔧 Configuration

open the .env file and fill in the fields

# Telegram
API_ID=123456 # Your API ID
API_HASH=123456 # Your API HASH

# Bot
BOT_TOKEN=123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 # Your bot token
GROUP_ID=-123456789, 123456789 # Your group ids allowed to use the bot (separated by commas)

# Sessions
STRING_SESSION=1AZ... # Your session 1

# OpenIA
OPENAI_TOKEN=sk-1234567890... # Your OpenAI token

▶️ Commands

/start - Start the bot
/imagine - Imagine an image
/variation - Variation of reply image

✍️ Author

Maia
Maia

License

MIT License

About

Winx ✨ is a chatbot with some useful functions.

Topics

Resources

License

Stars

Watchers

Forks

Languages