Tested on nodejs 18.x (uses native fetch api)
Obtains onchain bribe data and displays it in a loop as activity status. Optionally can display LIT price as name.
npm run dev
Copy and paste .env.sample
and rename to .env
. Fill in discord token and rpc variables.
npm run build
npm start
N.B. Bot restarts every hour at minute 0 in case of network connectivity issues
https://discord.com/developers/applications
New Application -> Set name
Sidebar -> Bot -> Reset Token -> Copy token -> Paste into .env
Sidebar -> General Information -> Copy Application Id
Replace YOUR_APPLICATION_ID
in the following link with the actual Application Id you just copied.
https://discord.com/api/oauth2/authorize?client_id=YOUR_APPLICATION_ID&permissions=0&scope=bot
Paste the url into a browser and authorise the bot to join the server.