Sha256: 0cabd7db777f1153ceaf70c2a73aceac46838f33cb3c4e4f76347b05a9010d95
Contents?: true
Size: 501 Bytes
Versions: 7
Compression:
Stored size: 501 Bytes
Contents
require 'elephrame' mix = Elephrame::Bots::PeriodInteract.new '30s' mix.on_reply { |bot, post| bot.post("@#{post.account.acct} Thanks for helping me test stuff :3", reply_id: post.id, visibility: post.visibility) } mix.on_fave { |bot, notif| puts "#{notif.account.acct} just faved post #{notif.status.content}" } mix.on_boost { |bot, notif| puts "#{notif.account.acct} just boosted post #{notif.status.content}" } mix.run do |bot| bot.post('testing', visibility: 'direct') end
Version data entries
7 entries across 7 versions & 1 rubygems