1. Environment Configuration:
- Set up the environment file.
- Define
Guild ID
:
- Navigate to Activate Developer Mode in Discord.
- Copy the Server ID.
- Navigate to Discord Developer Portal.
- Under the bot section, grab the
Token
.
- Note: This token is a one-time use token.
- Right-click the bot in your server.
- Select and copy the
ID
for the Client ID.
4. Dependencies Installation:
npm install discord.js ethers nodemon
node src/register-commands.js
- Go to your Discord server.
- Run the command /request_tokens_guild_specific.
- Provide an Ethereum Address when prompted.