项目作者: DevInfinix

项目描述 :
A discord.py Slash Command code example which uses "discord-py-slash-command" Bot API (Python Library)
高级语言: Python
项目地址: git://github.com/DevInfinix/discord.py-slash-command-example.git
创建时间: 2021-06-03T15:09:55Z
项目社区:https://github.com/DevInfinix/discord.py-slash-command-example

开源协议:Apache License 2.0

下载


Slash Command Example (discord.py)

A discord.py Slash Command code example which uses discord-py-slash-command Bot API.


INSTALLATION

The option to install the PyPI version is as follows:

  1. pip install discord-py-slash-command

DOCUMENTATION

Documentation of discord-py-slash-command Bot API is available in PyPI.


TEST

Copy-paste the codes from bot.py

Run the code

Type /test in your server (where your bot is already added)

Your code should work :)

  1. Note : Your bot must have "use slash commands" permission in the server in order to use slash commands.

CONNECT WITH ME

DISCORD: INFINIX#7276

DISCORD SERVER: https://www.discord.gg/DNvFcrhdzr

Check out my profile for more info!