a discord bot for prevent abuse
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
src
.env.sample
.gitignore
LICENSE
README.md
jest.config.js
package.json
tsconfig.json
vote_fail.json
yarn.lock

README.md

Stephard Bot

Stephard Bot

A bot that prevent abuse on post-promo channel of steem community.

To Do

Feature

User

Role:

  • ban

Can't access the channel

  • probation

Approved post will be redirected to pending. Required moderator to approve.

  • user

Approved post will be redirected to pending. Required moderator to approve.

  • senior

Post directly being approved

Registration Channel

  • Register their steemname and link to their discord account
  • Check their last post time and remaining cooldown on post promo channel

Post Promo Channel

  • Post promo channel checks for the quality of the post:
    • Is it voted by cheetah
    • Is it fulfill the minimum length required
    • Does it contain required Tag
    • Does it contain banned Tag
    • Does it has some tag that need to be pending for review
    • Short description is required for sharing the post
  • If user shared a post without waiting for cooldown, the bot will delete the message
  • If user are ban they are not allowed to share their post
  • The bot will reward users with an upvote (with trail) and leave a comment

Moderator

There is a special moderator channel for administration purpose

  • Put the bot into maintenance mode
  • Ban or Change roles of some of the users
  • Manually upvote a certain post in pending channel
  • Check status of a certain person

Technology

Typescript, Node.js, Jest, MongoDB

Developer

  • edit .env.sample file into .env
DISCORD_TOKEN=
STEEM_USERNAME=
STEEM_POSTING=
  • edit src/config-sample.ts into src/config.ts

License

MIT