In this version update, it is done across a few repository.
New Features
What feature(s) did you add?
- Pending Review Channel.
- When a user share a post in the channel with a certain tag, the bot will put it into #pending-for-approval.
- And in the #pending-for-approval channel, moderator can add reaction to the post.
- When a user share a post in the channel with a certain tag, the bot will put it into #pending-for-approval.
- Then, moderator can just upvote the post in the moderator channel.
- Check delegation for the bot
- Pending Review Channel.
How did you implement it/them?
- For pending-review, make use of discord.js API,
client.channels.get(ChannelID).send(MSG);
- For delegation, I used an API Server build by @justyy. The site is at https://uploadbeta.com/api/steemit/delegators/?cached&id=superoo7-dev .
- For pending-review, make use of discord.js API,
About This Projects
- What is the project about?
Stephard bot is a discord bot in #teammalaysia channel. User can share their post in the channel. To ensure that user not abusing these channel, a bot is used to automate the task of the moderator. User will be rewarded with upvotes.
Version 1: Basic bot that prevent post promo based on discord old messages.
Version 2: Integrated database to prevent abuse.
Version 3: Added upvote feature with trailing.
Version 4: Added pending review, moderator and sponsor feature.
- Technology Stack
Node.js, MongoDB. Hosted on Digital Ocean Ubuntu Server.
Roadmap
- Merged the two repository into one, instead of 2 bots, there will be 1 bot
- Source code upgrade. The code has grown bigger and bigger, I am considering using TypeScript or Flow for solving some issue of JavaScript RunTime Error.
- Make this project Easier to be used by others, with Docker
- Moderator can update and register for user.
How to contribute?
This project is done accross 3 repositories on GitHub, and all of them are under MIT License. Feel free to send in issue and pull request.
Posted on Utopian.io - Rewarding Open Source Contributors