Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js create channel and get id

guild.channels.create('Channel Tempo', { type: 'category' }).then(result => {
console.log('Here is channel id', result.id)
//Logs he channel id
//from https://stackoverflow.com/questions/61197547/get-id-after-discord-js-channel-creation
 
PREVIOUS NEXT
Tagged: #create #channel #id
ADD COMMENT
Topic
Name
2+1 =