#cn-malaysia is a tag for the chinese community in Malaysia. The aim is to get user to post quality chinese content. One of the issue sometimes is that people misunderstood about this tag and start to use it with posts that are not related to chinese content.
In the past, me and @davidke20 are manually checking and advise the user that used #cn-malaysia without containing chinese content to not use this tag.
Features
What feature(s) did you add?
- The bot will check when a post posted on steem with a tag of #cn-malaysia and then based on the content, calculate the amount of chinese words in it.
- Current setting is 20%, if the user's post does not contain more than 20% of Chinese words, it will send in a comment to remind the user
How did you implement it/them?
- Used of 2 regex to parse Chinese words
/[\u4e00-\u9fff]+/g
used to calculate number Chinese words in the post./[\u00ff-\uffff]|\S+/g
used to calculate the number of words in the post.
- Based on the number of Chinese words to Total words, calculate the ratio. When the post does not meet the requirement, a comment is send out by @superoo7-dev (might change to @cn-malaysia in the future)
- Used of 2 regex to parse Chinese words
About Projects
What is the project about?
This is a bot consuming SteemJS API. The bot will send out suggestion to those user that use #cn-malaysia without fulfilling the prerequisite (a certain amount of chinese words).Technology Stack
Node.jsRoadmap
- Constantly update with SteemJS in terms of API changes.
- add in parser to remove links, image and div tags to correctly calculate the ratio.
How to contribute?
GitHub link
This project is on GitHub with MIT License, feel free to send in Pull Request or Issue Filling.
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
Two requests if you may:
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Alright, I am sorry for the confusion. I had done update of the GitHub Repo.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Alright. Looks good.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hey @eastmael, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hello @superoo7,
Thank you for having interest in using #cn-malaysia tag.
For your information, CN tag stands for Chinese, and MALAYSIA tag represents Malaysia and Malaysian authors.
Malaysians writing in Chinese are encouraged to use this tag for us to easily identify Malaysians and also a channel where we can announce all upcoming events in Malaysia.
Below are the criteria:
Therefore, we recommended that do not use #cn-malaysia if the requirement is not met. Hence, there will not be any vote from our team.
Thank you for your understanding.
Best regards,
#cn-malaysia, #teammalaysia
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You’ve been upvoted by TeamMalaysia Community :-
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
太好了,希望别太多滥用cn-malaysia 的文章,让人啼笑皆非
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
希望如此,大家一起加油!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
謝謝你哦也辛苦你!這樣就不會有人亂亂來了。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
太好了。感谢你一直以来的付出!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
希望可以看到更多有好的作品在#cn-malaysia。(虽然我很少po在#cn-malaysia)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Too bad 我不会华文。Good job for the community @superoo7✌
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Thanks for your support 😁
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
谢谢分享,可以准备写我的游记了。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
加油呵呵!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
The new bot work pretty well. Thank you for your effort and contribution to made this happen.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Planned to do it few weeks ago, but we are not mature enough. Now seems to be a good time
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
感觉可以做成一个通用的,cn其他版块的都可以使用
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
还存在一点点bug,等我修完了再分享吧。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Awesome! Thanks for all the hard work! Thanks @superoo7 and @davidke20!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
You're welcome, maybe more projects in #cn-malaysia soon!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Cool! Looking forward to more projects!!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
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
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi there @superoo7, nice to meet u! Great effort on creating and maintaining the bot and cn-malaysia tag with @davidke20! May I know if cn-malaysia tag is strictly for posts related to malaysia? Let's say if i posted my thoughts in chinese, but it has nothing to do with malaysia, can i use the tag? Haha, i dun wan to get warn message for abusing the tag LOL
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I would suggest you use cn-malaysia for malaysian chinese community or things related to malaysia, or you want the post to reach cn-malaysia community. Since you are from Malaysia, feel free to use, as long as there is chinese content
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Alright, sure, thanks! :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Great effort bro. Thank you for the contribution.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@superoo 兄弟你是最棒的,努力加油喔 :D
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
谢谢你一直以来的付出,@superoo7!!!!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit