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)
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
once you have run openDash
.
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.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for discordbotdash-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56fb4129cf7cb174b52631f58fc2e4243838b71958ca5a3a6301fb939929e38b |
|
MD5 | 027249156a68e343c7c1670381f99882 |
|
BLAKE2b-256 | f4a03829032277c4ee8a77d3b227972172d53df26c3cf4522a3aabc7b27b5ad6 |