Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 641 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 641 Bytes

Build Status

bot-utilities

$ npm install --save bot-utilities

Utilities for Twitter bots.

  • heyYou(), a function that generates strings like → @username
  • imageBot(), a function that returns a random image input bot
  • getTwitterAuthFromEnv, a function that returns an auth object suitable for use with Twit
  • lodash mixins
    • percentChance, a function for doing things a percentage of the time
  • twit mixins
    • updateWithMedia, a function for posting images to Twitter