- Clone.
SSH:
git clone git@github.com:NotNorom/raffle-backend.git
HTTPS:git clone https://github.com/NotNorom/raffle-backend.git
- Install dependecies
npm install
- Set enviromental variables, like the ACCESS_TOKEN.
ACCESS_TOKEN=abcdefghijklmnopqrstuvwxy
- Run server
npm start
-
!raffle Adds user to the raffle
-
!unraffle Removes user from the raffle
- RESUBSCRIPTION When a user renews their subscription
- SUBSCRIPTION When a user subscribes for the first time
- SUBSCRIPTION_GIFT When a user gets a gifted subscription
- SUBSCRIPTION_GIFT_COMMUNITY When a user gets a gifted subscription as a community gift
- FOLLOW When a channel is being followed by a user