Method: Discordrb::Message#link
- Defined in:
- lib/discordrb/data/message.rb
#link ⇒ String Also known as: jump_link
Returns a URL that a user can use to navigate to this message in the client.
357 358 359 |
# File 'lib/discordrb/data/message.rb', line 357 def link "https://discord.com/channels/#{@server&.id || '@me'}/#{@channel.id}/#{@id}" end |