discordpy-slash旨在简化在discord.py Discord机器人中实施斜杠命令的过程。 您只需要做很少甚至不需要重写现有命令的方法即可工作。 该库可能存在错误,如果发现任何错误,请提出问题。 我该如何安装? 在Linux和Mac上运行此命令pip3 install discordpy-slash ,或者如果您在Windows上,请pip install discordpy-slash 如何...
You are able to easily install the discord-py-slash-command library by using the given PIP line below: pip install -U discord-py-slash-command Disclaimer Since slash commands are currently not officially released (They're in public beta), there will be many breaking changes to this extension...
pip install dismake 🤖 Creating a Minimal Discord Bot with Dismake Let's create a basic bot that echoes user text back to them. Create a new Python file named main.py, and copy and paste the following code: import dismake import typing app = dismake.Bot(...) @app.event() async ...