Skip to content

atlaspad/chatbox-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atlaspad Chatbox-AI (NLP/Telegram-Launchpad)

If it gives an error, import pika can be removed or RabbitMQ can be downloaded and downloaded.
If messages accumulate in the queue in rabbitMQ, all messages are sent at once when consume.
❗ That's why it is necessary to clear the messages in case of bugs.

Botfather commands and get token

/start
/newbot
We enter the name of the bot
We enter the username as bot at the end
gives the user his token ...... : ...... is what happens.

add description to bot
/setdescription

We select a bot or something below and continue

pip install -r requirements.txt

How does it work

Telegram bot consumer. There are 2 servers, the server with the most resources will be the producer and will constantly monitor the data. Telegram and Discord bots will run on the small server. They will subscribe to queues. There will be queues for each data (coins, NFTs, funding, etc.). Consumers will work as event handlers like Websocket, and the telegram bot will send messages when an event occurs.

/data_handler on big server
/telegram_bot on small server
Linked to RabbitMQ.

Architecture

Ekran Resmi 2024-03-03 22 36 14