Sha256: e5caea79fe4954b9c7a630d430cf670142ef41bb9ffac362757073b77302fdf3
Contents?: true
Size: 560 Bytes
Versions: 7
Compression:
Stored size: 560 Bytes
Contents
require 'elephrame' interacter = Elephrame::Bots::Interact.new interacter.on_reply { |bot| #bot.post("@#{post.account.acct} Thanks for helping me test stuff :3", # reply_id: post.id, visibility: post.visibility) ## this can be simplified to one line bot.reply("Thanks for helping me test stuff :3") } interacter.on_fave { |bot, notif| puts "#{notif.account.acct} just faved post #{notif.status.content}" } interacter.on_boost { |bot, notif| puts "#{notif.account.acct} just boosted post #{notif.status.content}" } interacter.run
Version data entries
7 entries across 7 versions & 1 rubygems