This command will save the payout address to the SourceCred account corresponding to the user of the command. The payout address is saved directly to the configured instance's Ledger.
/setpayoutaddress 0xF6mSADFk42fdDdsE42FKEfdlkz6
You can also use these commands to enable and disable your account for receiving Grain distributions.
/activate
/deactivate
This bot should work self-hosted (.env) or on repl.it (repl secrets)
- Fork this repo
- Change config.js
- Set up a host on your preferred hosting platform
- Create an application+bot in the Discord Developer Portal
- Add the following environment variables to your host:
- CLIENT_ID
- BOT_SECRET
- GITHUB_SECRET
- Invite the bot to your server(s) with the following link (substitute with your own client id):
https://discord.com/api/oauth2/authorize?client_id=555555555555555&permissions=84992&scope=bot