Kinton_Hiryuu
Kinton_Hiryuu
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 8/31/2023 in #djs-questions
Is screenshare possible ?
ok thx
4 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
and for the one who's looking for the same problem as me, here's the bit of code that works : 1. Verify from npm ls that you got the good version and not an older one for whichever reason 2.
const DISCORD = require('discord.js');
client = new DISCORD.Client({ intents:[DISCORD.GatewayIntentBits.Guilds] });
client.login(CONFIG.token);

client.on('ready', () => {
const channel = client.channels.cache.get('1023939042062123038');
channel.threads.create({ name: 'Post name', message: { content: 'Message content' }});
})
const DISCORD = require('discord.js');
client = new DISCORD.Client({ intents:[DISCORD.GatewayIntentBits.Guilds] });
client.login(CONFIG.token);

client.on('ready', () => {
const channel = client.channels.cache.get('1023939042062123038');
channel.threads.create({ name: 'Post name', message: { content: 'Message content' }});
})
3, if you still get the error, try npm remove discord.js then npm i discord.js again so you dont have random shit in your djs version
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
ok thx for the tips
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
thx for the help i guess ?
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
yeah mb im just dumv with those
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
v14.5 and 14.6
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
can you give me the bitfield for it pls ? i usually use an array of "GUILDS","GUILD_MESSAGES" and so on but idk why it wont work this time
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
let me retry on v14.5.0 real quick but i had the guild intent
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
i was starting to think about intents
24 replies
DIAdiscord.js - Imagine an app
Created by Kinton_Hiryuu on 9/26/2022 in #djs-questions
get undefined on channelsmanager.fetch(forumChannel) but not on normal channel
i right click the forum channel and click copy id like i do for every normal channels
24 replies