msg.guild.createChannel(`ticket-${newdata}`, "text")
.then(channel => {channel.setParent(parentID); })
.catch(console.error);
let newchannel = guild.channels
.find(channel => channel.name === `ticket-${newdata}`);
console.log(newchannel); //returns null
log命令返回null
...
有人给我一些提示吗? :D
thx
-嘎吱嘎吱