Documentation for nextcord-ext-help-commands
Contents
Documentation for nextcord-ext-help-commands#
A Nextcord extension for pre-built custom help commands for prefix commands and slash commands.
Installing#
pip install -U nextcord-ext-help-commands
To use pagination help commands:
pip install -U nextcord-ext-help-commands[menus]
Basic help command usage#
from nextcord.ext import commands
from nextcord.ext import help_commands
intents = nextcord.Intents.default()
intents.message_content = True
bot = commands.Bot(
command_prefix="$",
intents=intents,
help_command=help_commands.PaginatedHelpCommand(),
)
bot.run("token")
Slash help command usage#
from nextcord.ext import commands
from nextcord.ext import help_commands
# An instance of nextcord.Client may be used instead of commands.Bot
bot = commands.Bot()
# Pass your Bot or Client instance to the add_to_client method
help_commands.MinimalSlashHelpCommand().add_to_client(bot)
bot.run("token")
Contents#
License#
Copyright (c) 2022-Present The Nextcord Developers