Before setting up the bot, ensure you have the following installed:
- Python 3.12 or higher
- pip (Python package installer)
- PostgreSQL (for database)
-
Clone the repository:
git clone https://github.com/adnanbinpulok/soward-bot.git cd soward-bot -
Install the required Python packages:
pip install -r requirements.txt
-
Set up the environment variables:
Create a
.envfile in the
secrets
directory with the following content:
TOKEN = "BOT_TOKEN"
PREFIX = "?"
SHARD_COUNT = 5
DB_HOST = "localhost"
DB_PORT = 5432
DB_USER = "postgres"
DB_PASSWORD = "password"
DB_NAME = "postgres"-
Start the bot:
python main.py
-
Verify the bot is running:
Check the bot's status in your Discord server. It should be online and responsive to commands.
You can set up various modules using the bot's commands. Here are some examples:
-
AutoMod Module:
!setup automod -
AntiNuke Module:
!setup antinuke -
Logging Module:
!setup logging -
Ticket System Module:
!setup ticket -
Welcomer Module:
!setup welcomer -
Music Module:
!setup music
For support, join our Discord server or contact us via email.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for using Soward Bot!