Method: Discordrb::Message#await!

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

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

Add a blocking Await for a message with the same user and channel.

See Also:



236
237
238
# File 'lib/discordrb/data/message.rb', line 236

def await!(attributes = {}, &block)
  @bot.add_await!(Discordrb::Events::MessageEvent, { from: @author.id, in: @channel.id }.merge(attributes), &block)
end