discord is py-cord bot debug tools
Project description
This module is built on top of Jishaku.
- Download jishaku
pip install -U "jishaku @ git+https://github.com/Gorialis/jishaku@master"
jejudo is an extension for bot developers that enables rapid prototyping, experimentation, and debugging of features for bots.
One of jejudo's core philosophies is to be dynamic and easy-to-use. Here's the two step install:
- Download jejudo on the command line using pip:
pip install -U jejudo
- Load the extension in your bot code before it runs:
bot.load_extension('jejudo') # or await bot.load_extension('jejudo')That's it!
You can also import the module to use the command development utilities.
Command reference
>
The Python commands execute or evaluate Python code passed into them.
It supports simple expressions:
|
_ctx |
The Context that invoked the command. |
_bot |
The running Bot instance. |
_author _channel _guild _me _message _msg |
Shortcuts for attributes on _ctx .
|
_find _get |
Shortcuts for discord.utils functions.
|
The underscore prefix on the provided variables is intended to help prevent shadowing when writing large blocks of code within the command.
If you decide that you don't want the prefix, you can disable it by setting the
jejudo_NO_UNDERSCORE
environment variable to true
.
Each Python command is individually scoped. That means variables you create won't be retained in later invocations.
>
The shell command executes commands within your system shell.
|
>
|
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
jejudo-2.6.0.tar.gz
(35.8 kB
view details)
Built Distribution
jejudo-2.6.0-py3-none-any.whl
(42.5 kB
view details)
File details
Details for the file jejudo-2.6.0.tar.gz
.
File metadata
- Download URL: jejudo-2.6.0.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bc7393ea16a3f928e8a1e1cead8bfde4aa4d1edf6fc048417906a8f136d8445 |
|
MD5 | c0beb505c4e0a44d9bcb272650792a34 |
|
BLAKE2b-256 | 416d1555c27a68a4897ad2cd5c2316098f0a62118076b1559d3c9adcdb762813 |
File details
Details for the file jejudo-2.6.0-py3-none-any.whl
.
File metadata
- Download URL: jejudo-2.6.0-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30dcf68830f349ee18709f89a2b2e0fe4e44b42d793b2d495df400bb7ff65fde |
|
MD5 | c258c952b87e9933cbef4177e7b04b38 |
|
BLAKE2b-256 | 1da9ef7c6c10d79bcd8438590d854256db1bffcf1b4ba300732fb9643af532dd |