Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.65k stars 699 forks source link

Discord keeps deactivating account for suspicious activity #1142

Closed fferme closed 1 year ago

fferme commented 1 year ago

Version

2.42

Flavor

CLI (Command-Line Interface)

Platform

Windows 11

Export format

JSON

Steps to reproduce

Details

Discord keeps deactivating my account because it detects suspicious activity. It all happens when I retrieve the token from Discord and use in your API.

image

Checklist

Tyrrrz commented 1 year ago

Using DCE with a user account is against Discord TOS so these things may happen.

Technetium1 commented 1 year ago

Maybe it's cause to add a couple smaller sleeps...

Tyrrrz commented 1 year ago

DCE already respects Discord's API rate limits. Usually using DCE shouldn't result in suspensions of any kind, but like I said it's always a risk.

Either use a bot token or a throwaway user account, both are much safer and the only recommended options.

fferme commented 1 year ago

What is a bot token and how can I configure it? A throwaway user account it's like a dummy account? An account only to be used to generate the token?

Tyrrrz commented 1 year ago

What is a bot token and how can I configure it?

You need to register an application with Discord, then create a bot, invite that bot to the target server (you need to be admin) and then use the bot's token to export the chatlog.

A throwaway user account it's like a dummy account? An account only to be used to generate the token?

Yes. An account you create for the sole purpose of exporting chat logs.