Skip to content

3even/honktipbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Honk Tip Bot

About

This is a telegram bot that allow you tip other users in telegram with a HONK Token. Add @Honktipbot to your group. Then make your tip to other user by replying on their messages with "[NUMBER] honk" (e.g. "10 honk").

Users can deposit and withdraw their HONK tokens. You could also setup notification for new deposits with separate service checkDeposits.

This bot powered with Telegraf library.

Supported commands:

  • /start
  • /help
  • /balance
  • /deposit
  • /withdraw

Installation and local launch

  1. Clone this repo:

    git clone https://github.com/KeithPatrick5/honktipbot
  2. Create AWS DynamoDB tables:

  • Bot-Session (primary key: SessionKey [string])
  • Bot-checkDeposit (primary key: address [string])
  1. AWS configure

  2. Create .env file with the environment variables listed in .env.example

  3. Install NodeJS 10x && npm 6x

  4. Run in the root folder

    npm install
  5. Run a local instance of RabbitMQ

    sudo docker run -p 5672:5672 -d --hostname my-rabbit --name some-rabbit rabbitmq:3
  6. Run

    npm start

Creator: pytour

About

Honk Tip Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.0%
  • Shell 2.0%