Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Contest Bot

This is a bot that watch for a certain tag and announce it at Telegram Broadcast Channel.

Language:

  • Typescript

Library used:

  • axios
  • steem
  • dotenv

Setup the bot

  • install all dependencies (npm install or yarn install)

  • create a .env file (refer to .env.sample )

CHANNEL_ID=-100<CHANNEL_KEY>
BOT_KEY=<BOT_API_KEY>
  • depends on what tag you want to watch. (in this example, I use "teammalaysia" and "contest")
if (
      tags.includes('contest') &&
      tags.includes('teammalaysia')
    )
  • To run it, just tsc && node dist/index.js.

For production, you can use the PM2 library.

About

A bot that will post up latest contest on steemit blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published