discord splash:Discord斜杠命令的API包装器 源码
不和谐飞溅 Discord的斜杠命令的API包装器。 文件: 文档托管在 笔记: 您需要通过Discord API进行斜线命令。 目前,无法通过此API包装器执行此操作。 例子: 简单的机器人,回应“嗨” from discordSplash import Run import discordSplash @ discordSplash . command ( name = 'hello' ) async def hello ( data ): await data . respond ( discordSplash . ReactionResponse ( "hi" )) Run ( 'TOKEN' ) 存在示例 from discordSplash import Run , Presence import discordSplash x = Presence ( te
下载地址
用户评论