Method: Discordrb::Bot#parse_mention
- Defined in:
- lib/discordrb/bot.rb
#parse_mention(mention, server = nil) ⇒ User, ...
Gets the user, channel, role or emoji from a string.
520 521 522 |
# File 'lib/discordrb/bot.rb', line 520 def parse_mention(mention, server = nil) parse_mentions(mention, server).first end |