Stephard v5.0: Complete rewrite Phase 1 (Registration and Moderator)
Stephard bot is a discord bot that automate task for prevent abuse checking quality of content in post promo channel. Currently the previous source code is written over 2 repository, and I planned to rewrite it and combined both into 1 repo, instead of 2.
Currently, this source code already being implemented into #teammalaysia discord channel and full replaced the previous repo. In this phase 1, I completely rewrite and reimplemented superoo7/oo7-discord-reg. In the phase 2 (next contribution), I will be rewriting and implementing superoo7/oo7-discord into this bot.
Previous repository
Repository
Current repository: superoo7/stephard
New Features
- What feature(s) did you add?
- Complete rewrite from JavaScript into TypeScript
- Added testing with Jest
- Better UI of chat message with embed message (and color indicating success or failure)
- During registration, check wether the username exist on steemit
- How did you implement it/them?
- Previously the bot is written with Babel Javascript, the complete rewrite in TypeScript which helps in the speed of development and also make the project more scalable, as TypeScript offer Compile Time Type Checking.
- Using testing and MVC concept, the code are now more scalable and more maintainable in terms of long run.
'model' file are for storing database model
'controller' file are for CRUD operations
'router' file are how the bot setup between different channel and being trigger by *
symbol. Each channel are represented in each folder, where template are common file used between all the router.
About this Projects
- What is the project about?
A discord bot that allows user to share their post on post-promo channel. To ensure that everyone has an equal exposure, the bot will had a quality check, cooldown period, and rewarded with an upvote. If the post does not fulfils the requirement, the message on discord will be either be deleted or the message will be diverted to pending for review channel.
There is also moderator channel for checking, banning and unbanning users.
- Technology Stack
Node.js, TypeScript, MongoDB, Jest
Roadmap
- Complete rewrite of superoo7/oo7-discord and implemented it into this discord bot.
- Make the bot easier to deploy and setup, for the ease of others using my bot.
- Add more test coverage.
How to contribute?
Currently the bot is under development of rewriting, you can send in Pull Request or Issue Filling on this github repo.
Thank you for your contribution, though its good that you have re-written the code in the newer technology but it is not unique in any sense. Also the additional features added are less, please try to add features too along with refactoring or rewriting the code.
Link to the Answers of the Questionnaire -
Click here
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thank you moderator. I understand the concern of being less feature being added, the main added feature will be done in the next contribution.
You've been upvoted by TeamMalaysia community. Here are trending posts by other TeamMalaysia authors at http://steemit.com/trending/teammalaysia
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 for witness
Hey @superoo7
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!