Method: Discordrb::User#client_status
- Defined in:
- lib/discordrb/data/user.rb
#client_status ⇒ Hash<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.
59 60 61 |
# File 'lib/discordrb/data/user.rb', line 59 def client_status @client_status end |