- $this->emotes[] = preg_replace('/\d+$/', '', strtolower(mb_substr($this->text, $coords[0], $coords[1] - $coords[0] + 1)));
+ $emote_text = mb_substr($this->text, $coords[0], $coords[1] - $coords[0] + 1);
+ $this->original_emotes[] = $emote_text;
+ $this->emotes[] = preg_replace('/\d+$/', '', strtolower($emote_text));