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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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