Skip to content

bananlabs/RaffleBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Simple Telegram Bot That Generates 3 Random Numbers With a TRNG For a Raffle

This bot will display a button to the user get enrolled in a raffle. This sample raffle offer 3 prizes for the 1st, 2nd and 3rd place. The winners will be choosed using a True Random Number Generator in the ANU QRNG (Quantum Numbers Generator); To understand more about the concept, please access this website >> ANU QRNG.


Required: npm init [nodeJs].

Dependencies:

  • telegraf | Telegram Bot framework |

  • Install version 3.38: npm i --save telegraf@3.38 -E.

  • node-fetch | A light-weight module that brings window.fetch to Node.js

Create a .env file with your API Token, use the env-sample file as an example.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published