List all the channels in a server

Get all channels of a specific Discord server, ordered by their positions.

Run this query

To run this query, you can use the following command:

anyquery run list_all_the_channels_in_a_server

Arguments

Guild ID

The ID of the server to fetch channels from

Additional informations

Source code Author

Tip

You can also run local queries using the anyquery run command. Just pass the path to the query file as an argument (e.g. anyquery run path/to/query.sql).