dibug
Debugging Tool for discord.py
Installation
Python 3.10+ is required
pip install dibug
Usage
from discord import Client, Intents, Message
from dibug import Dibugger
owners = [1234567890] # owners id
async def user_has_perm(msg: Message) -> bool:
return msg.author.id in owners
intents = Intents.default()
intents.message_content = True # dibug requires message content intent
bot = Client(intents=intents)
Dibugger.attach(bot, user_has_perm)
bot.run("token")
Commands
Default Prefix: !dbg
-
<prefix>|<prefix> info | i: Show bot info -
<prefix> eval | e | python | py <code>: Evaluate python code -
<prefix> kill | k | shutdown: Kill bot process -
<prefix> shell | sh <code>: Execute shell command
Metadata
Release files for dibug 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dibug-0.5.1.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dibug-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.4 kB
Release files / dibug-0.5.1.tar.gz
| Download URL | dibug-0.5.1.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a06a9a83fa933a2502faf4674ba133fa3c0a049f3944503e4f67972a5c1c96d6
|
|
BLAKE2b-256 checksum How to use checksums |
747a10fa425d98ed3d14a8a8ad7fbb1aba50ecb098c5d02efd044cfc3bb79eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1040-azure
|
Release files / dibug-0.5.1-py3-none-any.whl
| Download URL | dibug-0.5.1-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
674624be1fd004dbb0e9b64b077f1e796788ac4724160c71e1ab4d7a91ec115b
|
|
BLAKE2b-256 checksum How to use checksums |
60449549e7611315de5bf0f68ba2077fa4b537b1af503c2327e8958c0742710d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.12 Linux/5.15.0-1040-azure
|