Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

GUIDE: Setting up a Discord server with SourceCred and GitHub actions #3

Open
yeqbfgxjiq opened this issue Apr 5, 2020 · 1 comment

Comments

@yeqbfgxjiq
Copy link

yeqbfgxjiq commented Apr 5, 2020

This guide is outdated. Please refer to the AraCred Deployment Guide instead.

https://aracred.github.io/website/docs/deploymentOverview/

SourceCred Discord How-to

The easiest way to set up SourceCred on Discord is to fork MetaFam's TheSource repo, delete the scores.json file + the docs/api folder, and then update project.json and weights.json with the config you want.

Then you'll need to create a discord bot and give it the permission to read messages. (takes 5min)

Add the bot's token to the GitHub secrets for your forked TheSource repo. Note! The token must be called: SOURCECRED_DISCORD_TOKEN.

Make sure that GitHub action is enabled to run:

If you want to get Discord ID's for the SourceCred Identity plugin, you'll need to enable Discord's developer mode. The you can right click on servers or users to get their Discord IDs and paste them into project.json.

Speaking of project.json, if you don't want to run it on Discord, Discourse, or GitHub just remove those sections.

If you want to view the pretty Cred graph for your Discord server you'll need to enable GitHub pages and set it to the master/docs folder.

Note!

You'll still need to configure project.json to point to your Discord server, Discourse forum, user names, GitHub repos, etc...


For examples of what this looks like check out the following repos

@yeqbfgxjiq
Copy link
Author

This guide is outdated. Please refer to the AraCred Deployment Guide instead.

https://aracred.github.io/website/docs/deploymentOverview/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant