Class: Discordrb::Events::PresenceEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/discordrb/events/presence.rb

Overview

Event raised when a user's presence state updates (idle or online)

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#client_statusHash<Symbol, Symbol> (readonly)



20
21
22
# File 'lib/discordrb/events/presence.rb', line 20

def client_status
  @client_status
end

#serverServer (readonly)



10
11
12
# File 'lib/discordrb/events/presence.rb', line 10

def server
  @server
end

#statusSymbol (readonly)



16
17
18
# File 'lib/discordrb/events/presence.rb', line 16

def status
  @status
end

#userUser (readonly)



13
14
15
# File 'lib/discordrb/events/presence.rb', line 13

def user
  @user
end