App Logo
discord.com

get_member_list

List the members shown in a Discord server's member sidebar for a given channel. Returns per member their userId, display name without the role badges the row also renders, and whether Discord marks them as an app. userId is null for a member on a default avatar, which carries no id to read. Discord only sends the sidebar the members near the scroll position, so a large server returns those rendered while scrolling rather than a guaranteed roster; complete says which happened, and offline members are omitted where Discord collapses them. The sidebar's role grouping is not returned, as the headings expose no stable handle.

Input

channelUrl required

URL of a text channel in the server, e.g. https://discord.com/channels/<guildId>/<channelId>. The member sidebar belongs to the channel, so it must be one the account can view.

limit optional

How many members to return.

Default: 100

Output

count required
members required
guildId optional
complete optional

True when the sidebar stopped yielding new members before limit was reached. Discord only sends the sidebar members near the scroll position, so a large server can return fewer than it holds.

Start building not clicking