Method: Discordrb::Embed#timestamp

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

#timestampTime? (readonly)

Returns the timestamp of the embed object. nil if there is not a timestamp.

Returns:

  • (Time, nil)

    the timestamp of the embed object. nil if there is not a timestamp



25
26
27
# File 'lib/discordrb/data/embed.rb', line 25

def timestamp
  @timestamp
end