Generate a CSV of all Discord members in a server and the date they joined.
Clone the project
git clone https://github.com/gskril/discord-export-users.git
Go to the project directory
cd discord-bot
Install dependencies
npm install
After creating an application with Discord (read below), start the bot
npm start
- Navigate to the Discord Developers website, create an application, and add it to your server
- This is a helpful video showing how to do exactly that
- In Bot settings, check "Server Members Intent"
- Back in the project files, rename .env.example to .env and enter your bot client token
- Send a message that says "/members" to any channel (suggested in private channel first for testing)
- Only server members with admin permissions can use this function