sub message {
my ($self, $target, $msg) = @_;
- $msg =~ s`<b>(.*?)</b>`**$1**`gi;
- $msg =~ s`<c(\d+)>(.*?)</c>`*$2*`gi;
-
- $self->discord->send_message($target, $msg ); # Send the response.
+ $self->bot->discordMessage($target, $msg ); # Send the response.
}
-
sub _build_uid {
my ($self) = @_;