#Discord - Read Channels

1 messages · Page 1 of 1 (latest)

jade python
#

I'm 2 days late so you might've figured it out already but if not you need a bot token to query the discord API (It's against terms of service to use a normal account or 'self-botting')

You can find the discord API documentation at https://discord.com/developers/docs/resources/channel#get-channel-messages for fetching channel messages (All other channel related actions such as get/modify channel are listed on the sidebar left hand side)

Assuming what you're trying to do is read the messages of a channel the bot needs to be in the server and have the VIEW_CHANNEL and READ_MESSAGE_HISTORY permissions

There are countless frameworks such as discord.js that could make this easier but all you really need to do is query /channels/{channel.id}/messages

Discord Developer Portal

Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.