我正在使用discord.js-commando
,并且正在尝试节流工作。我尝试了很多不同的方法,但是没有用。我希望它将用法设置为1,将持续时间设置为3。反正我可以解决此问题吗?
super(client, {
name: "help",
group: "help",
aliases: ["commands", "h"],
memberName: "help",
description: "List of all commands.",
examples: ["b!commands", "b!help", "b!h"],
throttling: {
duration: 3,
usages: 1
}
})