Class: Discordrb::Activity::Timestamps

Inherits:
Object
  • Object
show all
Defined in:
lib/discordrb/data/activity.rb

Overview

Timestamps for the start and end of instanced activities

Instance Attribute Summary collapse

Instance Attribute Details

#endTime? (readonly)

Returns:

  • (Time, nil)

131
132
133
# File 'lib/discordrb/data/activity.rb', line 131

def end
  @end
end

#startTime? (readonly)

Returns:

  • (Time, nil)

128
129
130
# File 'lib/discordrb/data/activity.rb', line 128

def start
  @start
end