slashcommands:Discord Slash Commands API的包装与discord.py一起使用 源码
斜杠命令 这是与一起使用的的包装。 例子 import discord , slashcommands , asyncio client = discord . Client () print ( "Loading..." ) @ slashcommands . new ( "A simple test command to check if everything works." ) async def test ( interaction ): message = await interaction . respond ( f"This is a test, { interaction . user . username } !" ) await message . followup ( "Do you like my reply @everyone?" , mentions = d
文件列表
slashcommands-master.zip
(预估有个5文件)
slashcommands-master
setup.py
908B
slashcommands
__init__.py
15KB
LICENSE.txt
34KB
.github
workflows
install.yml
310B
README.md
2KB
暂无评论