From a541371ce10bdaa778c0a24b6d51cb18a2c0b540 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:59:48 +0700 Subject: [PATCH] style: use stringifyAnsi() on irc command output --- build-number.txt | 2 +- .../me/chayapak1/chomens_bot/command/IRCCommandContext.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-number.txt b/build-number.txt index c31e0ca3..dd091307 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -1229 \ No newline at end of file +1230 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/command/IRCCommandContext.java b/src/main/java/me/chayapak1/chomens_bot/command/IRCCommandContext.java index 1230aeae..ef20b024 100644 --- a/src/main/java/me/chayapak1/chomens_bot/command/IRCCommandContext.java +++ b/src/main/java/me/chayapak1/chomens_bot/command/IRCCommandContext.java @@ -38,7 +38,7 @@ public class IRCCommandContext extends CommandContext { @Override public void sendOutput (Component component) { - bot.irc.sendMessage(bot, ComponentUtilities.stringify(component)); + bot.irc.sendMessage(bot, ComponentUtilities.stringifyAnsi(component)); } @Override