class

PrivateParlorXT::TripcodeSignCommand

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

Processes tripcode sign messages before an UpdateHandler gets them

This handler expects the command handlers to be registered before the update handlers

Instance methods

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

Preformats the given message with a tripcode signature header if the message meets requirements

Source
spamming?(user : User, message : Tourmaline::Message, arg : String, services : Services) : Bool

Checks if the user is spamming tripcode signatures

Returns true if the user is spamming tripcode signatures or unformatted text is spammy, returns false otherwise

Source