Method: Discordrb::User#client_status

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

#client_statusHash<Symbol, Symbol> (readonly)

Returns the current online status (:online, :idle or :dnd) of the user on various device types (:desktop, :mobile, or :web). The value will be nil if the user is offline or invisible.

Returns:

  • (Hash<Symbol, Symbol>)

    the current online status (:online, :idle or :dnd) of the user on various device types (:desktop, :mobile, or :web). The value will be nil if the user is offline or invisible.



59
60
61
# File 'lib/discordrb/data/user.rb', line 59

def client_status
  @client_status
end