Octomod is a powerful Telegram bot designed to enhance group interactions with engaging word-based gameplay. Whether you're hosting it locally, on a server, or using a cloud-based service like Replit, Octomod ensures a seamless experience. This guide will help you set up and use Octomod efficiently.
To install the required dependencies, run the following command:
pip install -r requirements.txt
Create a .env
file in the root directory of your project with the following content:
# .env
API_ID = "YOUR_API_ID"
API_HASH = "YOUR_API_HASH"
To run Octomod on your local machine, follow these steps:
python src/main.py
To host Octomod on a remote server, follow these steps:
-
Ensure Python and pip are installed on your server.
-
Clone the repository:
git clone [email protected]:odin-the-ruler/Octomod.git
-
Navigate to the project directory:
cd Octomod
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file with your API credentials. -
Run the bot using a process manager like
screen
,tmux
, orsystemd
to keep it running:python src/main.py
To run Octomod on Termux (Android terminal emulator):
-
Install Termux from the Play Store or F-Droid.
-
Update and install Python:
pkg update && pkg upgrade pkg install python git
-
Download the project ZIP file from GitHub:
wget https://github.com/odin-the-ruler/Octomod/archive/refs/heads/main.zip
-
Extract the ZIP file:
unzip main.zip && mv Octomod-main Octomod
-
Navigate to the project directory:
cd Octomod
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file with your API credentials. -
Start the bot:
python src/main.py
To run Octomod on Replit:
-
Fork the repository to your Replit account.
-
Open the forked repository in Replit.
-
Add the required environment variables (
API_ID
andAPI_HASH
) in the Replit Secrets. -
Install dependencies in the Replit shell:
pip install -r requirements.txt
-
Create a
.env
file with your API credentials. -
Click the "Run" button in Replit to start the bot.
Alternatively, access the project on Replit via this link: Octomod on Replit
Here are the commands you can use to interact with Octomod:
/po
– Start the octomod bot in a group./eo
– Stop the octomod bot from playing in the group./time <time>
– Set a custom delay (in seconds) between messages.
- Start the bot by running it locally, hosting it on a server, or running it on Replit/Termux.
- Send the
/po
command in the group to activate the bot. - The bot will start monitoring and responding to messages based on the game rules.
- To stop the bot from playing, use the
/eo
command. - To control the speed of responses, use
/time <seconds>
to set a custom delay.
This project is open-source and released under the MIT License. You are free to modify and distribute it under the terms of the license.
For any questions, feedback, or support, feel free to reach out via Telegram: Contact Me
We appreciate contributions and suggestions to improve Octomod! 🚀