Skip to content

A Discord bot which analyses compliance with the Utopian's contribution rules

License

Notifications You must be signed in to change notification settings

techrube/scoutopian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCOUTOPIANDISCORD BOT

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.

scoutopian-header-image

*All features support Utopian.io Rules Update #8

Features

  • 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
    • Checks if PR merge or Commit date is at most 14 days old.

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

How to set up:

1 - Create a Discord App & a Bot User

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 use OAUTH2 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

About

A Discord bot which analyses compliance with the Utopian's contribution rules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published