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
Built Distribution
File details
Details for the file discordbotdash-1.2.tar.gz
.
File metadata
- Download URL: discordbotdash-1.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a05354d7f0733cc08b80ae31883e01c3ea4702775afd7854e8113a3a8ee4210 |
|
MD5 | 212546aa97bd6d936ad01eb1794bc4a9 |
|
BLAKE2b-256 | 463cb0af4db7f12b36ed3b97402cf5dac349d666fa139375d3e95c7bbab8ce5c |
Provenance
File details
Details for the file discordbotdash-1.2-py3-none-any.whl
.
File metadata
- Download URL: discordbotdash-1.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 029b1fbcbde5194f9db54d300acefe943c99772b59ad460298dbfa85f3d6a934 |
|
MD5 | 94730d84ca9829f6ae88c505b0ef3691 |
|
BLAKE2b-256 | 439fef02668d281041a466f48ef5882fc1d593233fcf905dc313222b11ad3351 |