Skip to content

Work-in-progress. Multi-purpose Discord bot for communities using SourceCred.

Notifications You must be signed in to change notification settings

sourcecred/discord-cred-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

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

Installation

Deploy

  1. Add the following environment variables to your host:
    1. CLIENT_ID
    2. BOT_SECRET
    3. GITHUB_SECRET
  2. 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

About

Work-in-progress. Multi-purpose Discord bot for communities using SourceCred.

Resources

Stars

Watchers

Forks