Method: Discordrb::Message#reply!
- Defined in:
- lib/discordrb/data/message.rb
#reply!(content, tts: false, embed: nil, attachments: nil, allowed_mentions: {}, mention_user: false, components: nil) ⇒ Message
Responds to this message as an inline reply.
180 181 182 183 184 185 186 |
# File 'lib/discordrb/data/message.rb', line 180 def reply!(content, tts: false, embed: nil, attachments: nil, allowed_mentions: {}, mention_user: false, components: nil) allowed_mentions = { parse: [] } if allowed_mentions == false allowed_mentions = allowed_mentions.to_hash.transform_keys(&:to_sym) allowed_mentions[:replied_user] = mention_user respond(content, tts, , , allowed_mentions, self, components) end |