contestBot: a telegram bot that broadcast about new contest
contestBot is a bot that checks for the latest post on steem blockchain when some one posted with #teammalaysia alongside with #contest, #raffle and #upfundme .
The commit that I had done is here
Features
What feature(s) did you add?
- watch steem blockchain with
steem.api.streamTransactions()
, when there is a post with #teammalaysia alongside with #contest, #raffle, #upfundme, it will post on telegram. - To prevent messaging twice (because on steem edit post also counted as transactions), a
data.json
file is stored past messaged data. - Basic test is added to test out the Telegram API (to check wether the telegram keys are working)
- watch steem blockchain with
How did you implement it/them?
src/index.ts
is where thestreamTransaction
located and the main filesrc/api.ts
is the file on consuming Telegram APIsrc/save.ts
is saving thedata.json
file.
About the Projects
- What is the project about?
This project started because members from TeamMalaysia often host new contest, and some of the contest has higher winning chance for those early comers. Therefore, I decided to use Telegram's push notification that works on both Phone an PC, to remind me and the subscribers that there is new contest coming up.
contestBot will check for the latest post on steem blockchian and when some one posted with #teammalaysia alongside with #contest, #raffle and #upfundme, the bot will broadcast out the message about ****the link to the post on Telegram Channel.
If you interested to use this bot, you can check out my previous post or join the Telegram Channel
- Technology Stack
TypeScript
Roadmap
- Make this project easier to be used instead of editing the
src/index.ts
file for that specific tags - Update the project when steem.js changes the API
- Make this project easier to be used instead of editing the
How to contribute?
This project is hosted on Github under MIT license. Feel free to send in Pull Request and Issues.
For teammalaysia, I am using teammalaysia branch
Posted on Utopian.io - Rewarding Open Source Contributors
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
Thank you moderator
This seemed to me, a lot of technicality which obviously requires a massive talent and great pair of eyes to make it happen, @superoo7! Thank you for all that you've done! :)
Yea, it is posted on Utopian, so mainly is a developer report haha
Yeah, a report of what you did ma, right? Sorry you have to deal with a noob here. Hahaa!
not noob haha, just that you are not proficient in this field
Hehehee, true true! :D
This post has been curated 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
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