Scoutopian is designed to be a utopian.io Discord Bot which will inspect contributions to give users and moderators an opinion whether the contribution meets the rules.
*All features support Utopian.io Rules Update #8
- Gives an estimated score calculated by SOFT and HARD rules of Utopian
GitHub repository
-
Looks for README.md and LICENSE files in the repo
-
Checks if the last commit is older than 1 year
For "development" and "translation" categories only:
- Compares Utopian and GitHub names of the contributor.
- Scoutopian will also search for the utopian username in the following fields if GitHub username is not same as utopian name.
- Body of the pull request
- The "name", "bio" and "blog fields" of the user's GitHub profile
- Scoutopian will also search for the utopian username in the following fields if GitHub username is not same as utopian name.
- Checks if PR merge or Commit date is at most 14 days old.
- Compares Utopian and GitHub names of the contributor.
Downvotes
- Looks for downvotes of the accounts/bots listed below
- @steemcleaners
- @cheetah (upvotes will also count)
- @mack-bot
- @spaminator
Language of the Contribution
- Checks body of the contribution to find out if it's written in English
**~ Coming Features & Roadmap**
- All possible rules will be added including category rules
1 - Create a Discord App & a Bot User
- Visit this link: https://discordapp.com/developers/applications/me
- Click the
New Appbutton and fill the necessary information - Click the
Create a Bot Userbutton
2 - Add the Bot User to Your Discord Server
- Copy "Client ID" under app details section and paste it to its place in this link:
https://discordapp.com/oauth2/authorize?&client_id=<CLIENT ID>&scope=bot&permissions=0(You can also useOAUTH2 URL GENERATOR)
3 - Set Environment Variables
- Copy the bot user token from the Discord App page and set the
DISCORD_BOT_TOKEN - Create a personal access token from GitHub and set the
GITHUB_PAT - Create an API key from detectlanguage.com an set the
DETECT_LANG_KEY
