Stephard v4.0: Added moderator and sponsor role
After the previous update v3.0, the 4.0 update is a major one. In this update, I added a moderator system with a lot more feature for sponsor.

This update was done into 2 repositories which is superoo7/oo7-discord-reg and superoo7/oo7-discord.
New Features
What feature(s) did you add?
- Moderator can change a user to sponsor or ban. (Detail about the command is at this post)
- A sponsor can share 2 post per 20 hours. (Depends on the setting)
- The ban role meaning that the person cannot share post on discord.
- Maintenance mode, meaning that during maintenance, the bot can't be used. (Useful for patching updates)
How did you implement it/them?
- Moderator is implemented in the moderator channel only.
- The sponsor and ban role is being changed into the MongoDB Database.
- Maintenance mode make use of a JSON file to store the data about maintenance.
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.
The detail about the bot (how to use it) is being recorded in a video on DLive.
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 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.
- Add in a new feature for special consideration channel.
- Making source code easier to implement for other discord channel. (using Docker Compose)
- Moderator can update and register for user.
- How to contribute?
This project is under MIT License with 2 Github Repository, feel free to send in issues and Pull Request. However, later I might create a repo to merge both of them.
stephard-2-reg superoo7/oo7-discord-reg
stephard-2 superoo7/oo7-discord
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for sharing your posts with us. This post was curated by TeamMalaysia as part of our community support. Looking forward for more posts from you.
To support the growth of TeamMalaysia Follow our upvotes by using steemauto.com and follow trail of @myach
Vote TeamMalaysia witness bitrocker2020 using this link vote bitrocker2020 witness
Thank you for the contribution. It has been approved.
Can you please link to the commits next time, so that the moderators can check more easily?
You can contact us on Discord.
[utopian-moderator]
Hey @vladimir-simovic, Thanks for moderating. I am sorry that I forgot to link the commits, will do it next time.
Hey @superoo7 I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x