A packager to create and manage Discord bots easily (in Windows)
Project description
Discord Package - Discord Bots Packager
Description
Discord Package is a command line tool for creating and managing Discord bots in Python (currently in BETA). It also includes a simple web monitor to view bot logs in real time, allowing for better visualization and debugging.
Features
- Discord bot project generation: Quickly creates a new bot project with the necessary file and folder structure.
- Refresh: The packer is constantly watching for changes in the working directory and will restart the bot if any changes are detected.
- Real-time log monitoring: A built-in web server that displays the bot logs in real time in a web interface.
- Advanced filters: Filter logs by server name, server ID, user name and date for easy debugging.
Requirements
- Python 3.6 or higher.
- Additional dependencies:
discord.py,watchdog,asyncio,datetime,requests,rich.
Installation
1. Install discord-package
pip install discord-package
2. Install dependencies
pip install -r requirements.txt
Usage
Create a New Bot Project
To create a new Discord bot project, use the following command:
dcp create <nombre_del_proyecto>
Replace <project_name> with the name you want for your new project. This command will create a project structure with all necessary files and folders.
Project Structure
The create command will generate a project structure similar to the following:
project_name/
│
├── assets/
│ ├── imagen/
│ │ └── mi_imagen.png
│ └── **init**.py
├── buttons/
│ ├── **init**.py
│ └── buttons_help.py
├── commands/
│ ├── **init**.py
│ └── ping.py
├── config/
│ ├── **init**.py
│ └── bot_config.py
├── functions/
│ ├── **init**.py
│ └── print_logs.py
├── logs/
│ ├── **init**.py
│ └── logs.txt
├── monitor/
│ ├── **init**.py
│ ├── index.html
│ ├── style.css
│ ├── script.js
│ └── monitor.py
├── utils/
│ ├── **init**.py
│ └── error_message.py
├── bot.py
├── dev.py
├── requirements.txt
└── .gitignore
Running the Bot in development mode
python dev.py
Running the Bot in production mode
python bot.py
Disclaimer
Discord Package is not an official Discord product. It is a tool created by Polaris Web3 to help developers create and manage Discord bots easily.
For more information: Documentation
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file discord_package-2.0.tar.gz.
File metadata
- Download URL: discord_package-2.0.tar.gz
- Upload date:
- Size: 377.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3df9f6397f7a35089cefabaab2e822b0cb2ddbf2355214d4a48dfd89a335509
|
|
| MD5 |
c912db4e52627730e2e470105f65c565
|
|
| BLAKE2b-256 |
e118b17c8266a1b6f942d1a8f7fd6d3714d3d1fcd7eb6e0dc4e12988447db5aa
|
File details
Details for the file discord_package-2.0-py3-none-any.whl.
File metadata
- Download URL: discord_package-2.0-py3-none-any.whl
- Upload date:
- Size: 392.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0c039e98c42d3205dfb6c5a90c02a38c66ba8a0a80379cdeefc835892f9b3a0
|
|
| MD5 |
99565e41e95268d94c300fe8a70daff4
|
|
| BLAKE2b-256 |
f421b79afe446dd3a361b8becc517be85cde26a78a4b33f1a7d652d2924f90e8
|