Skip to content

Twitter Bot that flips a coin and tweets the result. mention him on Twitter and you will get a "pile or face" as a response

Notifications You must be signed in to change notification settings

Zakichanu/Coin-Flip-Twitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coin Flip Bot

Twitter Bot that flips a coin and tweets the result. mention him on Twitter and follow this format : @CoinFlipBotFR choice number 1 / choice number 2 or by just mentioning it like @CoinFlipBotFR and you will get a pile or face

Requirements

  • Node v16+
  • TypeScript
  • Twitter developer account

Installation

  • You need in the first place to run the following command : npm install
  • Create a .env file with all of your credntials of your twitter developer account :
    TWITTER_API_KEY = xxxxxxxxx
    TWITTER_API_KEY_SECRET = xxxxxxxxxxx
    TWITTER_ACCESS_TOKEN = xxxxxxxx
    TWITTER_ACCESS_TOKEN_SECRET = xxxxxxxx
    TWITTERV2_CLIENT_ACCESS_TOKEN = xxxxxxxxx
    TWITTERV2_CLIENT_ACCESS_TOKEN_SECRET = xxxxxxxxxx
    
  • Run npm run dev and test it out!

Made by Zakichanu

About

Twitter Bot that flips a coin and tweets the result. mention him on Twitter and you will get a "pile or face" as a response

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published