Hey there! I'm trying to add channels and categories, but I can't seem to get the function ".createChannel" working. The console keeps telling me that the function doesn't exist. I've been referencing the documentation at https://discord.js.org/, but I can't find the solution anywhere. If anyone has any insight on this issue, I would greatly appreciate it. Here's the code snippet I've been attempting to use:
message.guild.createChannel('channel-name', 'text', [{
id: message.guild.id
};