Skip to content

How to get a list of all channels ? #9890

Closed Answered by almostSouji
hrutik7 asked this question in Q&A
Discussion options

You must be logged in to vote

The bot client as a .channels manager which exposes a .cache of all the channels in all the servers your bot is in. If you just want the channels of a specific server (guild), the Guild structure behaves similarly.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by almostSouji
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants