]> git.localhorst.tv Git - alttp.git/blobdiff - app/TwitchBot/IRCMessage.php
better quota system for contextual messages
[alttp.git] / app / TwitchBot / IRCMessage.php
index d6cfaec2549886540bb8702f20edf41f1e50000d..0f73c06797a79b4694215dbe09a380392e56620f 100644 (file)
@@ -136,6 +136,10 @@ class IRCMessage {
                ]);
        }
 
+       public function tokenize() {
+               return TokenizedMessage::fromIRC($this);
+       }
+
        public static function join($channels) {
                $msg = new IRCMessage();
                $msg->command = 'JOIN';