Skip to main content

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
    1. Run pip install discordbotdash for the latest version.

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 details)

Uploaded Source

Built Distribution

discordbotdash-1.2.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file discordbotdash-1.2.3.tar.gz.

File metadata

  • Download URL: discordbotdash-1.2.3.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for discordbotdash-1.2.3.tar.gz
Algorithm Hash digest
SHA256 24fd707d8bd7d8b2648b53b1162f6d49b9470a30f3100139c9bed56f52d10e9c
MD5 3d58ed7e9b7201817401ff0c2b8d3093
BLAKE2b-256 c3be8c4d26cfd78b5acf0932fa7f60a10da301ee5637bca706668f942708eaf6

See more details on using hashes here.

Provenance

File details

Details for the file discordbotdash-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: discordbotdash-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.7

File hashes

Hashes for discordbotdash-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40886900a4213235bae94f64d4556050377b67a8e84d0738ab07e689e0aa4621
MD5 4b4933af9800cece58f5d189f6b395fe
BLAKE2b-256 ab96be58b3acdf8741672ea14e63cc4cf65d76fd23b2605eb73b1bcb69ba214c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page