examples/reply.rb in elephrame-0.2.0 vs examples/reply.rb in elephrame-0.3.2
- old
+ new
@@ -1,8 +1,7 @@
require 'elephrame'
replier = Elephrame::Bots::Reply.new
replier.run { |bot, mention|
- bot.post("@#{mention.account.acct} hey!", reply_id: mention.id,
- visibility: mention.visibility)
+ bot.reply("@#{mention.account.acct} hey!")
}