Get your IP address from a self-hosted Discord bot
- Clone the repository:
git clone https://github.com/AlexIsOK/DiscordIPBot
and cdcd DiscordIPBot
- Install the dependencies:
npm install
- Run the bot to generate a config file:
node index.js
- Edit
config.json
to include your token (optionally custom prefix and command as well) - Run the bot again:
node index.js
You can also pass the token as a command line argument: node index.js -t TOKEN
.
The command line token will be used instead of the stored one when possible.
To contribute, please fork this project and create a pull request with your changes.