discord.ext.help
[!NOTE] The specification has changed from the legacy version (0.x), and this library now only supports help generation for application commands.
A discord.py extension that automatically generates interaction help commands.
Dependency
- Defxult/reactionmenu
- discord.py 2.0 and later
This library is not guaranteed to be compatible with the discord.py fork (Because the reactionmenu used in this library is probably dedicated to discord.py).
Also, for pycord, you can reproduce the behavior of this library by using discord.ext.pages.
How To Use
Install
pip install discord-ext-help
example
import discord
from discord.ext import commands
from discord_ext_help.help import extension as helpext
bot = commands.Bot(command_prefix="!", intents=discord.Intents.all())
deh = helpext(bot)
@bot.event
async def setup_hook():
command = await bot.tree.sync()
await deh.regist_ids(command)
@bot.tree.command(
name="help", description="show help"
)
async def help(interaction: discord.Interaction):
await interaction.response.defer()
await generate(interaction)
bot.run(token)
Metadata
Release files for discord-ext-help 1.0.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 | |
|---|---|---|---|
| discord_ext_help-1.0.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discord_ext_help-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / discord_ext_help-1.0.1.tar.gz
| Download URL | discord_ext_help-1.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b076864871dcad7c40b70fc65d9bb4b900b6964c0b21fba0644934cbd40e517
|
|
BLAKE2b-256 checksum How to use checksums |
320fb64ffeffe6602a88a32e3ecdd43524af161f68351ed5792b1d436f541fd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1015-azure
|
Release files / discord_ext_help-1.0.1-py3-none-any.whl
| Download URL | discord_ext_help-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca9acc912c53dce5b8a518a57245ade3edac360f006926c8869f3103c4da150f
|
|
BLAKE2b-256 checksum How to use checksums |
27bffe165ab9b9ab50a98d09f408fcecba996c8cef700dbe529aa1f99d4b74de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.12.2 Linux/6.5.0-1015-azure
|