PrivateParlorXT::InfoCommand
Inherits PrivateParlorXT::CommandHandler < PrivateParlorXT::Handler < Reference < Object
A command used to get information about one's account, or get obfuscated information about another user if one is authorized to see such information
Constructors
Instance methods
cooldown_until(expiration : Time | Nil, services : Services) : String
Format the cooldown until text based on the given expiration
Returns a message containing information about the user's account or the user who sent the message this message replies to
ranked_info(user : User, message : Tourmaline::Message, reply : Tourmaline::Message, services : Services) : String | Nil
Returns a String containing obfuscated information about a user the who sent the reply
user_info(user : User, services : Services) : String | Nil
Returns a String containing information about the given user
warn_expiry(expiration : Time | Nil, services : Services) : String | Nil
Format the warning expiration text based on the given expiration