DiscordJS: Wie mache ich, dass bei dem Slash-Befehl aus meiner radioconfig.js die Namen als tabbar angezeigt werden?
Wie mache ich, dass bei dem Slash-Befehl aus meiner radioconfig.js die Namen als zum Tabben angezeigt werden?
// radioConfig.js
const radioConfig = {
"Radio 1": {
url: "link"
},
"Radio 2": {
url: "http://radiourl2.com"
},
"Radio 3": {
url: "http://radiourl3.com"
}
};
module.exports = radioConfig;
Code: https://hastebin.mobilserver.xyz/otaxopojir.js
error: https://hastebin.mobilserver.xyz/aqekokezel.coffeescript
The official guide is always helpful in such questions: https://discordjs.guide/slash-commands/autocomplete.html#autocomplete