【发布时间】:2022-11-01 18:50:12
【问题描述】:
我找不到我的问题的解决方案:
我想创建一个更改 nick 命令,但我不知道要使用哪种类型的选项
我的命令创建者
commands.create
(
{
name: 'change_nick',
description: 'changes nick for specified person',
options:
[
{
name: 'user',
description: 'user that name will be changed',
type: 6,
},
{
name: "new_username'
description: "new username",
type: "" //thath's what i'm searching for,
},
]
},
);
我尝试浏览和阅读文档,但找不到任何东西
请帮助
【问题讨论】:
标签: javascript node.js discord.js