List channels
discord-list-channels
List the channels of one server (text, announcement, voice, forum and categories; threads are not included, use list-active-threads). Discord returns every channel in one response and has no paging, so a very large server's list can be cut at 64 KB.
Get channel
discord-get-channel
Get one channel or thread by id: its name, type, topic, parent and, for a thread, its archived state and whether the bot has joined it.
List messages
discord-list-messages
List 20 messages in a channel, newest first. For older messages pass before = the id of the oldest message you have; for newer ones pass after = the id of the newest. Pass at most one of before and after. Discord returns an empty list when the bot lacks Read Message History.
Get message
discord-get-message
Get one message by id: its text, author, reactions, pinned state, reply reference and the thread started from it, if any.
List pinned messages
discord-list-pinned-messages
List up to 20 pinned messages in a channel, most recently pinned first, each with its pinned_at time. When has_more is true, pass before = the pinned_at of the last item for the next page.
List active threads
discord-list-active-threads
List every active (not archived) thread in a server, newest first, with a member entry for each thread the bot has joined. Discord returns them all in one response and has no paging, so a very large server's list can be cut at 64 KB.
List archived threads
discord-list-archived-threads
List up to 20 archived public threads of one channel, most recently archived first. When has_more is true, pass before = the thread_metadata.archive_timestamp of the last thread for the next page.
List thread messages
discord-list-thread-messages
List 20 messages in a thread, newest first (a thread is a channel, so this is the channel messages call with the thread's id). For older messages pass before = the id of the oldest message you have; for newer ones pass after. Pass at most one of before and after.