首页 > TAG信息列表 > theUser

Bot in Discord with discord.js (7)

Bot in Discord with discord.js (7) Chapter 8 - 子命令 Subcommands 如果你有一个包含子命令的命令,你可以以使用与解析 Options 和 Choices 的值那样相似的方式解析它们。 以下代码片段详细说明了解析子命令并使用 CommandInteractionOptionResolver#getSubcommand() 方法做出相