Slash commands help for discord-interactions
Project description
SlashHelp
discord-py-interactions v3 slash command help Discord server
Usage:
from discord_slash import SlashCommand
from discord.ext import commands
from slash_help import SlashHelp
bot = commands.Bot("/")
slash = SlashCommand(bot, sync_commands=True) # sync_commands=True preferred
slash_help = SlashHelp(bot)
# and its done!
Install:
pip install -U slash-help
Arguments:
Required:
bot
:Union[commands.Bot, discord.Client]
- the bot variable
Optional:
guild_ids
:Optional[List[int]] = None
- a list of guild/server IDs to register /helpcolor
:Optional[discord.Color] = discord.Color.default()
- the color of the embedcolour
- alias ofcolor
timeout
:Optional[int] = 60
- the number of seconds till paginator timeout, specifyNone
for no timeoutfields_per_embed
:Optional[int] = 5
- the number of fields per embedextended_buttons
:Optional[bool] = True
- to use the first and last buttonsuse_select
:Optional[bool] = True
- whether or not to use the select
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
slash_help-1.0.2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for slash_help-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d6d63edcf8df8f069e19963d39632bf438ede91ac6d18dbf60e06c84d1e52e |
|
MD5 | e0f0f2bb7682f1ac7b909dc01f9d85ff |
|
BLAKE2b-256 | 38bd0c0323977529c361b8bd754f078c4e705c2615dc73ecc235c9a472cd0df6 |