A simple Discord self-bot to automatically respond to messages as yourself.
- nodejs
- A Discord account
npm install
Copy config.json.example
to config.json
in the project's root folder.
token: Your client token value. This can be accessed by opening the Electron inspector in Discord, going to the Application » Local Storage, and copying your token. See Selfbot's README for more detail.
listenUser: The username of the bot that listens to.
flood: The delay between the sending of messages.
delay: The delay between receiving a message and responding.
Copy phrase.js.example
to something.js
within the phrases folder as needed.
regex: An array of one or more regular expressions to match.
handler: A callback that runs when a regex is matched.