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 <guild_id>

Arguments

Guild ID

The ID of the server to fetch channels from

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.