create channel in another server when command ran in other server

i was wondering how i can run a command in one server and then create a channel in aonther server my dsicord bot is in
5 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
treble/luna
treble/luna16mo ago
get the guild from cache and then create the channel
Zickles
ZicklesOP16mo ago
well i know how to create the channel but i dont understand how to get the guild from cache
treble/luna
treble/luna16mo ago
<Client>.guilds.cache.get(id)
Zickles
ZicklesOP16mo ago
oh that makes more sense thanks
Want results from more Discord servers?
Add your server