Fetch all channles name of specified guild

Guild is ID
7 Replies
d.js toolkit
d.js toolkit2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
chewie
chewie2y ago
get the guild from cache using client.guilds.cache.get('id') and then map over guild.channels.cache and get their names
Fyphen
FyphenOP2y ago
could u code it ? I'm not sure what I'm doing
chewie
chewie2y ago
no, we don't spoonfeed
d.js docs
d.js docs2y ago
class GuildManager (extends CachedManager) Manages API methods for Guilds and stores their cache.
Fyphen
FyphenOP2y ago
ok
d.js docs
d.js docs2y ago
class GuildChannelManager (extends CachedManager) Manages API methods for GuildChannels and stores their cache.
Want results from more Discord servers?
Add your server