#doubt in collecting data

1 messages · Page 1 of 1 (latest)

indigo lotus
#

hello people
Is it possible for a Discord bot to collect data from a public server —just the text I wrote in a server, along with any replies to me? The server has over 50k messages each day, and I’ve been working on some code to capture that, but it keeps getting stuck in an infinite loop. I tried to gather daily messages, but it only gave me a few rows, even though there were tons of messages. I’d appreciate any help or suggestions!
I feel like it’s happening because of discord rate limits. Even when I put into small batches-it still doesn’t work TT
ps:)
don’t worry- i’m collecting chats only for education purposes

velvet quest
velvet quest
#

also discord imposes strict rate limits, and trying to collect this volume of messages could result in your bot being rate-limited or even banned if it violates the platform's rules

indigo lotus
indigo lotus
velvet quest
#

By Every user and bot

#

You can filter out if from a user or a bot

#

You can check the documentation

#

But i think you can do something like:

#
If(message.author.id === bot.users.cache.get(“YOUR_ID”){
// store 
}