Warning
This code is hot garbage
Special thanks to Intellisense for helping me glue this together
- Put your bot's token into
discordtoken.txt
, place it in the project root or with the binary you have. If you haven't already setup abot account
go to the discord dev portal and create an app - Download
clientsecret.json
from https://console.cloud.google.com/apis/credentials for the project you created and put it in the project root or the app directory
Note
You would need to accept rclone access request via a browser on the initial run, however it would automatically cache the recieved token intotokencache.json
so this is a one-time step until the token expires