Method: Discordrb::Message#reply

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

#reply(content) ⇒ Message

Deprecated.

Please use #respond.

Replies to this message with the specified content.

Parameters:

  • content (String)

    The content to send. Should not be longer than 2000 characters or it will result in an error.

Returns:

  • (Message)

    the message that was sent.

See Also:



167
168
169
# File 'lib/discordrb/data/message.rb', line 167

def reply(content)
  @channel.send_message(content)
end