Method: Discordrb::Message#await_reaction!

Defined in:
lib/discordrb/data/message.rb

#await_reaction!(attributes = {}, &block) ⇒ Object

Add a blocking Await for a reaction to be added on this message.

See Also:



249
250
251
# File 'lib/discordrb/data/message.rb', line 249

def await_reaction!(attributes = {}, &block)
  @bot.add_await!(Discordrb::Events::ReactionAddEvent, { message: @id }.merge(attributes), &block)
end