A python package for testing/managing your discord.py bot in browser.
Project description
discordbotdash
A discord.py package for testing Discord bots in your browser and viewing statistics. You can turn commands on and off, see the code for them, and view your shards with their respective latencies. This is still in development and more features will come.
Installation
- PyPi
- Run
pip install discordbotdash
for the latest version.
- Run
Usage - Example
Once you have installed it, you can easily open up a dashboard in your browser:
import discord
from discord.ext import commands
import discordbotdash.dash as dbd
bot = commands.AutoShardedBot("!")
@bot.event
async def on_ready():
dbd.openDash(bot)
# optional port: dbd.openDash(bot, port=5000)
bot.run("token")
Ensure that you are opening the dashboard before you are running the bot with bot.run
. Your dashboard will be open on 127.0.0.1:5000
, or a different port if you have specified one, once you have run openDash
.
Changelog
- You can now specify a port or leave it unspecified to default to 5000.
- Added console to view events and eval() with your bot.
Screenshots
Cogs
Commands
Shards
Console
Contributing
- Pull Requests for new features are always welcome.
- If you have a suggestion or a bug to report, open an issue.
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
discordbotdash-1.2.3.tar.gz
(8.3 kB
view hashes)
Built Distribution
Close
Hashes for discordbotdash-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40886900a4213235bae94f64d4556050377b67a8e84d0738ab07e689e0aa4621 |
|
MD5 | 4b4933af9800cece58f5d189f6b395fe |
|
BLAKE2b-256 | ab96be58b3acdf8741672ea14e63cc4cf65d76fd23b2605eb73b1bcb69ba214c |