HenkieThee
HenkieThee
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
any idea @zeyad_155? Else i will just make the posts by hand i guess
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
like from voice channels, announcement channels, text channels but just not a forum channel
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
its weird because evey channel i get a good response except for a forum channel
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
null
null
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
yea like this
const test = await client.channels.fetch('1223756963540893867');
console.log(test);
const test = await client.channels.fetch('1223756963540893867');
console.log(test);
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
[object Promise]
[object Promise]
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
all the channels start with 8.... like 833063336203649053 or 833063336203649052 but the forum looks like this 1223756963540893867
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
undefined on the forum channels (i made a new one just to be sure) but the other text channels below it gives back
<#833063342934982718>
<#833063342934982718>
for example.. this is how i do it
const test = client.channels.cache.get('1223756963540893867');
console.log(test);
const test = client.channels.cache.get('1223756963540893867');
console.log(test);
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Then that should not be the problem
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Its the same way as getting the id from a normal text channel right?
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
But thanks 🙂
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Alright then i have to take another look because for some reason when fetching the channelid it can’t find the channel when getting the id of a forum channel but it works on normal text channels
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
So if i fetch a channel by its id i can use the variable of that.threads.create
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Like that’s the problem i found that documantation you send but i can’t find a example
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Name?
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Like the channelid?
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
Thanks, but what should be at the place of <ForumChannel> ?
39 replies
DIAdiscord.js - Imagine a bot
Created by HenkieThee on 3/31/2024 in #djs-questions
post channel trough bot
So my question is bassicly, how do i make it so the bot can create posts in a post channel
39 replies