diff --git a/docs/images/discord-message-content-intent.png b/docs/images/discord-message-content-intent.png new file mode 100644 index 00000000..fb9b6c72 Binary files /dev/null and b/docs/images/discord-message-content-intent.png differ diff --git a/docs/oracle-node/discord-data.md b/docs/oracle-node/discord-data.md index d5d28ea4..64b5fe12 100644 --- a/docs/oracle-node/discord-data.md +++ b/docs/oracle-node/discord-data.md @@ -63,6 +63,10 @@ Example response: ### Retrieve Messages from a Discord Channel +> **Important**: To retrieve message content, you must toggle "Message Content Intent" in the Discord Developer Portal under the `Bot` section. +> +> ![Message Content Intent](../images/discord-message-content-intent.png) + The `/data/discord/channels/{channelID}/messages` endpoint retrieves messages from a specified Discord channel. - **Endpoint:** `/data/discord/channels/{channelID}/messages` diff --git a/docs/oracle-node/discord-sentiment.md b/docs/oracle-node/discord-sentiment.md index b838b550..dc6f9ecb 100644 --- a/docs/oracle-node/discord-sentiment.md +++ b/docs/oracle-node/discord-sentiment.md @@ -15,6 +15,10 @@ The Discord sentiment analysis feature extends the Masa Node's capabilities to i The sentiment analysis process begins by collecting Discord messages based on specific channel IDs, followed by sentiment evaluation using the chosen language models. The system is compatible with a variety of models, such as Claude and GPT variants, ensuring versatile and robust sentiment analysis. +> **Important**: To retrieve message content, you must toggle "Message Content Intent" in the Discord Developer Portal under the `Bot` section. +> +> ![Message Content Intent](../images/discord-message-content-intent.png) + ### Models ```go diff --git a/docs/worker-node/discord-worker.md b/docs/worker-node/discord-worker.md index 12002bf5..37f02a7b 100644 --- a/docs/worker-node/discord-worker.md +++ b/docs/worker-node/discord-worker.md @@ -35,11 +35,15 @@ To start processing Discord data requests, you need to retrieve your Discord bot 2. Log in with your Discord account credentials. -3. Click on the "New Application" button. Give your application a name and confirm the creation. ![Create a New Application](../images/discord-create-a-new-application.png) +3. Click on the "New Application" button. Give your application a name and confirm the creation. + +> ![Create a New Application](../images/discord-create-a-new-application.png) 4. Navigate to the "Bot" tab on the left-hand side and click on "Reset Token". -5. Under the "TOKEN" section, click on "Copy" to get your bot token. ![Copy Token](../images/discord-copy-bot-token.png) +5. Under the "TOKEN" section, click on "Copy" to get your bot token. + +> ![Copy Token](../images/discord-copy-bot-token.png) ### Adding Discord Credentials