/DiscordMsg-Reaction-User-to-CSV

Lets you export a list of users who re-acted to a message with a specific emote to a CSV file.

Primary LanguageVisual Basic .NET

Reaction User to CSV

This is a prof of concept for a reddit bot request that I keep getting messages for.

Discord Commands

Commands:
rte! <- Prefix

Command: (you must NOT include the "[]" brackets.)

rte!export [message ID] <- replace messageID with the ID of the message you want to export to CSV.
	- This command exports all usernames / user ID that have reacted with the 🎊 emote.	This emote can be changed in the source on line 77, you will need to rebuild the bot when you do this.

Setup

  • Click Here to create a bot and invite it to your server as follows

    • Click the 'New Application' button

    New Application

    • Enter a name for this bot and click create

    Name Bot

    • Click the 'Bot' tab under settings on the left toolbar

    Bot Tab

    • Click the 'Add Bot' button

    Add Bot

    • Click 'Yes do it' in the pop-up

    Yes do it

    • Select 'OAuth2' tab under settings on the left toolbar

    OAuth2

    • Select 'Bot' checkbox from the scopes list and copy the link

    Bot OAuth2

    • Paste the copied link into a new tab / new window

    • Select the server you want to invite the bot to and click 'Authorize'

    Authorize Bot

    • Go back to the developer portal at and select the Bot tab again.

    Bot Tab

    • Click 'Copy' button located under the token

    Copy Token

    Downloading

    • Extract the zip to the desktop or my documents, somewhere you can find it easily.

    Extracted

    • Open the folder that was extracted to the zip and start ReactionToExcel.exe
    • You will ask you for your token.
      • This is the token we coppied in the step above, paste it using CTRL + V and press enter
      • Once complete the bot should start.