-
Create a bot on discord dev portal learn basics here
-
Copy the Bot Token and go to OAuth field for URL generation
-
For the permissions & scope of the bot check this insted of what is show in above article.
-
Add the Bot in your own Server using the created url
• Clone the repository
git clone https://github.com/YogPanjarale/solana-bot.git
• install the packages
npm install
yarn (optional)
• Add Enviromenent Variables make a .env file in the root directory and add the following lines
BOT_TOKEN = <bot-token>
API_KEY_ID = <theblockchainapi-key-id>
API_KEY_SECRET = <theblockchainapi-key-secret>
• Run the bot
npm run build
npm run serve
New to Hosting Services? Check out Railway.app