LunaChat v3.0.3 : Fixed issue #178.

このコミットが含まれているのは:
ucchy committed 2020-07-03 01:16:52 +09:00
1 親 e2eea8798d
コミット d652fcb39a
11ファイル変更
+398 -215

検索条件に一致するファイルはありません

+13
ファイルの表示
@@ -149,6 +149,19 @@ public class ClickableFormat {
return new ClickableFormat(msg);
}
public static ClickableFormat makeChannelClickableMessage(String format, String channelName) {
KeywordReplacer msg = new KeywordReplacer(format);
msg.replace("%channel%", String.format(
PLACEHOLDER_RUN_COMMAND,
channelName,
Messages.hoverChannelName(channelName),
String.format(JOIN_COMMAND_TEMPLATE, channelName)));
return new ClickableFormat(msg);
}
public BaseComponent[] makeTextComponent() {