class

PrivateParlorXT::TripcodeCommand

Inherits PrivateParlorXT::CommandHandler < PrivateParlorXT::Handler < Reference < Object

A command used to set the user's tripcode, so that it can be used for tripcode signatures

Instance methods

do(message : Tourmaline::Message, services : Services) : Nil

Sets the user's tripcode or returns the user's tripcode if set when the message meets requirements

Source
tripcode_set(set_format : String, name : String, tripcode : String, services : Services) : String

Format the tripcode set reply

Source
valid_signature?(arg : String) : Bool | Nil

Returns true if the given arg is a valid flag signature

Returns false otherwise

Source
valid_tripcode?(arg : String) : Bool

Returns true if the given arg is a valid tripcode

Returns false otherwise

Source