Skip to content

ooxx5626/McDonald-s_Lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

McDonald-s_Lottery

Draw lottery of McDonald's app daily and notice with Telegram. If want to draw automatically you can plus it in crontab

What do I need?

  • A Telegram Bot, get BOT TOKEN and Chat ID
  • token that personal account of McDonald
  • Node.js

How do I use it? Install

Installing Node.js 7.x on Ubuntu and Debian

# Install Node.js 7.x repository
curl -sL https://deb.nodesource.com/setup_7.x | bash -

# Install Node.js and npm
apt-get install -y nodejs

Installing Node.js 7.x on CentOS 7

# Install Node.js 7.x repository
curl -sL https://rpm.nodesource.com/setup_7.x | bash -

# Install Node.js and npm
yum install nodejs

Get this project

git clone https://github.com/ooxx5626/McDonald-s_Lottery.git

Start

npm start