File Sequencing Bot! This Telegram bot is designed to help you organize and sequence your files.
-
Sequencing: Send documents, videos, or audio files to the bot, and it will sequence and organize them for you.
-
Stats: Check your usage statistics, including the total number of users and file sequences.
-
Cancellation: If you change your mind or make a mistake, you can cancel the file sequencing process using the
/cancel
command.
-
Start a File Sequence:
- Use the command
/ssequence
to begin the file sequencing process. - Send documents, videos, or audio files one by one.
- Use the command
-
End the File Sequence:
- Use the command
/esequence
to finish the file sequencing process. - Receive the sequenced files in the correct order.
- Use the command
-
Check Statistics:
- Use the command
/stats
to view usage statistics.
- Use the command
-
Cancel File Sequencing:
- Use the command
/cancel
if you want to cancel the ongoing file sequencing process.
- Use the command
-
Update and upgrade the system:
sudo apt update sudo apt upgrade -y
-
Install Node.js and npm:
sudo apt install -y curl curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - sudo apt install -y nodejs
-
Clone the repository:
git clone https://github.com/SOMEH1NG/FileSequenceBot.git cd FileSequenceBot
-
Build the Docker image:
docker build -t file-sequence-bot .
-
Run the Docker container:
docker run -d -p 8080:8080 file-sequence-bot
-
Check container logs:
docker logs <container_id>
-
Stop the Docker container if needed:
docker stop <container_id>
- Language: JavaScript
- Framework: Telegraf (Telegram Bot Framework)
- Database: MongoDB
- Libraries: Telegraf, MongoDB