VOOZH about

URL: https://apify.com/harvestedge/discord-message-sentiment

⇱ Discord Message Sentiment Β· Apify


Pricing

$18.00/month + usage

Go to Apify Store

Discord Message Sentiment

The Discord Message Sentiment Scraper collects message data β€” including text, embeds, attachments, reactions, and mentions β€” from any channel and performs real-time sentiment analysis. Perfect for lead generation, data analysis, and marketing.

Pricing

$18.00/month + usage

Rating

0.0

(0)

Developer

πŸ‘ Harvest Edge

Harvest Edge

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

0

Monthly active users

8 months ago

Last modified

Share

🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🚜

🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽🌽

Harvest Edge / Discord Message Sentiment

🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱🌱

πŸŒ½πŸŒ½πŸŒ½πŸŒ½πŸ†πŸŒ½πŸŒ½πŸŒ½πŸŒ½πŸšœπŸŒ±πŸŒ±πŸŒ±πŸŒ±πŸŒ±πŸŒ±

Harvest Edge makes business information available to everyone!

🌼 Overview

The Discord Message Sentiment Scraper collects message data β€” including text, embeds, attachments, reactions, and mentions β€” and performs real-time sentiment analysis using the VADER Sentiment Analyzer.

This tool is designed for developers, data scientists, and analysts who need structured conversational data for research, analytics, or community insights.
It can scrape messages in either "older" or "newer" directions from a specific message ID, batching data safely to comply with Discord rate limits.


🌾 Features

  • 🧠 Sentiment analysis
  • πŸ“¦ Structured output with message metadata, attachments, embeds, and reactions
  • ⏱ Configurable batch delay to prevent API throttling
  • πŸ” Directional scraping (newer or older)
  • 🚫 Robust error handling with descriptive logs
  • βš™οΈ Optimized performance (fetches up to 10,000 messages per run)
  • πŸ’¬ Works with Discord user tokens for full message access

πŸ”‘ How to Get Your Discord Token

  1. Open Developer Tools in your browser (F12 key) and go to discord.com/channels/@me
  2. Click the Network tab and filter for Fetch/XHR
  3. Refresh the page if needed and look for a request named @me
  4. Under Request Headers, locate the Authorization field
  5. Copy the long token string β€” that’s your Discord Token

βš™οΈ Input Configuration

The Actor accepts the following input parameters via Apify:

KeyTypeDescriptionDefaultRequired
guild_idStringThe ID of the Discord server (guild) containing the target channel.-βœ… Yes
channel_idStringThe ID of the channel from which to fetch messages.-βœ… Yes
tokenStringYour Discord user account token for authentication.-βœ… Yes
max_messagesIntegerMaximum number of messages to fetch (1–10,000).1000❌ No
start_message_idStringOptional message ID to start scraping from.None❌ No
scrape_directionStringDirection of scrape: "newer" or "older".newer❌ No
batch_delay_secondsStringDelay between message batches (in seconds, to manage rate limits).1.0❌ No

🧾 Output Structure

Each message is output as a JSON object in your Apify dataset.

FieldDescription
message_idUnique message ID
channel_idChannel ID
authorObject containing author details (id, username, discriminator, avatar, public_flags)
contentText content of the message
timestampUTC timestamp of when the message was created
edited_timestampTimestamp if the message was edited
typeDiscord message type (e.g., default, reply)
attachmentsList of attachments (ID, filename, URL, size, etc.)
embedsList of embeds (title, description, URL, thumbnail, etc.)
pinnedBoolean β€” whether message is pinned
mention_everyoneBoolean β€” whether the message mentions everyone
ttsBoolean β€” whether the message was text-to-speech
flagsInteger β€” Discord message flags
componentsArray of UI components (e.g., buttons)
reactionsArray of reactions (emoji details, count, etc.)
mentionsArray of mentioned users (ID, username, discriminator)
message_referenceObject containing reply reference data
sentimentObject with sentiment scores (pos, neu, neg, compound, label)

🧠 Example Output

{
"message_id":"123456789012345678",
"channel_id":"987654321098765432",
"author":{
"id":"111222333444555666",
"username":"example_user",
"discriminator":"1234",
"avatar":"https://cdn.discordapp.com/avatars/...png",
"public_flags":0
},
"content":"This is awesome!",
"timestamp":"2025-10-20 14:30:00",
"edited_timestamp":null,
"attachments":[],
"embeds":[],
"pinned":false,
"mention_everyone":false,
"tts":false,
"flags":0,
"components":[],
"reactions":[],
"mentions":[],
"message_reference":null,
"sentiment":{
"compound":0.8316,
"pos":0.7,
"neu":0.3,
"neg":0.0,
"label":"positive"
}
}

You might also like

Discord Message Scraper

jungle_synthesizer/discord-message-scraper

Scrape messages from Discord channels

πŸ‘ User avatar

BowTiedRaccoon

217

Discord Message Scraper

harvestedge/discord-message-scraper

Scrape Discord messages effortlessly with this Apify actor. Extract channel data, attachments, and embeds with customizable settings. Try now!

10

Discord Message Crawler

lighthouse_keeper/Discrawl

Scrape entire discord servers, specific channels, or DMs with full metadata: message content, embeds, timestamps, reactions, mentions, polls, and more. If it's there, you will have it.

Discord Message Scraper

louisdeconinck/discord-scraper

Effortlessly extract and analyze complete message histories from channels and DMs. Gain insights into community engagement, track communication patterns, and export valuable contentβ€”all in a clean, structured JSON format. Unlock the full potential of your Discord data with our advanced scraper!

πŸ‘ User avatar

Louis Deconinck

172

5.0

Telegram Group/channel Message Scraper

bhansalisoft/telegram-group-channel-message-scraper

Telegram Group/channel Message Scraper- Scrap Telegram Groups/Channel message from chat history

475

1.0

Instagram Message Sender

clothefobia/instagram-message-sender

Instagram Message Sender- Send message to any instagram userid.

236

Discord Message Scraper

vulnv/discord-message-scraper

Export Discord messages and chat history. Download conversations from any channel, backup servers, archive threads, and analyze community data. Filter by date range and user. Perfect for data analysis and archival.

Discord Lead Scraper

scrapapi/discord-lead-scraper

Twitter Bulk Message Sender

bhansalisoft/twitter-bulk-message-sender

Twitter Bulk Message Sender : send bulk message to multiple twitter profiles.

Related articles

How to use the Discord API in Python
Read more