Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ruby Chat Bots: Work and Fun together

Jester
September 17, 2016

Ruby Chat Bots: Work and Fun together

Jester

September 17, 2016
Tweet

More Decks by Jester

Other Decks in Programming

Transcript

  1. Kill All Humans! WORK AND FUN TOGETHER Bite my shiny,

    metal ass! I’m so embarrassed. I wish everyone else was dead! Shut up %username%, I know it! RUBY CHAT BOTS
  2. ALEKSEY DASHKEVYCH RUBYDEV/SYSADMIN twitter://dash_as facebook://aleksey.dashkevich github://jesterovskiy

  3. CHAT BOTS • Get customised notifications and news • Integrate

    with other services • Create custom tools • Build single- and multiplayer games • Do virtually anything else
  4. LITA CHAT BOT • Build with Ruby • Automate tasks

    • Many chat services
  5. LITA CHAT BOT Adapter Handler Extension (optional)

  6. LITA ADAPTERS

  7. ADAPTER EXAMPLE

  8. ADAPTER EXAMPLE

  9. HANDLER EXAMPLE

  10. EXTENSION EXAMPLE

  11. WORK + manage deploy

  12. • info - List information about EB applications • status

    - Show status of EB applications • deploy - Deploy EB application • switch - Switch EB application (CNAME) • logs - Get logs from app environment • rake - Run rake task on EB application • release - Make application release COMMANDS LIST
  13. • Auth groups • You can see, what they do

    • Simplicity • Now you like deploy process PROFIT
  14. FUN +

  15. + QUEST “ESCAPE ROOM” adapter lita-telegram handler quest-bot

  16. DON’T PLAY THIS GAME! DISCLAIMER • not ready for vulgar

    jokes • you feel loathing • do not accept references to the Nazis and genitals • didn't like Ruby Meditation
  17. YOU AWAKE IN THE STRANGE SMALL ROOM FULL OF THIRD

    REICH SYMBOLS. LAST THING YOU REMEMBER: 5 GREEN MEXICANS ON MEDITATION AFTERPARTY. YOU NEED TO ESCAPE AND MAKE IT FAST. THIRST AND THE DESIRE TO PEE UNCONTROLLABLY. YOU HAVE ONLY 5 MINUTES TO OPEN DOOR. GOOD LUCK. PREHISTORY
  18. HTTPS://TELEGRAM.ME/ JESTERSTEXTQUESTBOT GAME LINK For Telegram web users: write /start

    Tested only on iPhone. Sorry https://github.com/ Jesterovskiy/quest-bot
  19. USEFUL LINKS • https://www.lita.io • https://github.com/litaio/lita-slack • https://github.com/wonderbread/lita-telegram • https://core.telegram.org/bots

    • https://api.slack.com
  20. IS HIRING =) THANK YOU!