This is a Discord bot that allows users to retrieve the server's public IP address using the /get-ip
command.
- A Discord bot token
- Go installed on your system (https://go.dev/doc/install)
- Build the bot executable using:
go build
- Run the bot executable with the following flag:
./scout --token=<YOUR_BOT_TOKEN>
Replace <YOUR_BOT_TOKEN>
with your actual Discord bot token.
Example:
./scout --token=your_bot_token_here
In your Discord server, type the following command to get the server's public IP address:
/get-ip
The bot will respond with the retrieved IP address in a message.