discordbotdash icon indicating copy to clipboard operation
discordbotdash copied to clipboard

A python package for testing/managing your discord.py bot in browser.

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.

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.