Universal and lightweight template for your bot built with disnake
. Easily add slash commands, events, and modules (cogs) to fit any use case.
- Full support for Slash commands (
disnake.ext.commands
) - Modular architecture using cogs for clean code organization
- Event handlers:
on_ready
,on_member_join
, and more - Configuration via
.env
orconfig.py
- Example commands:
/avatar
,/say
,/userinfo
- Python 3.9 or newer
disnake
librarypython-dotenv
(if using a.env
file)- Other dependencies listed in
requirements.txt
Install all dependencies:
pip install -r requirements.txt
-
Clone the repository:
git clone https://github.com/Ananas1kexe/bot-on-disnake cd discord-python-bot
-
Install dependencies:
pip install -r requirements.txt
-
Configure your bot:
- Create a
.env
file in the project root:TOKEN="your_bot_token_here"
- Create a
Start your bot by running:
python main.py
- Fork the repository
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes and commit:
git commit -m "Add new command or feature"
- Push to your branch and open a Pull Request
This project is licensed under the MIT License.
See LICENSE for details.