Commit 8a8dbd7 1 parent db8d4c0 commit 8a8dbd7 Copy full SHA for 8a8dbd7
File tree 5 files changed +5
-5
lines changed
1.10.2/src/main/java/net/shadowfacts/discordchat/one_ten_two
1.11.2/src/main/java/net/shadowfacts/discordchat/one_eleven_two
1.12.2/src/main/java/net/shadowfacts/discordchat/one_twelve_two
1.7.10/src/main/java/net/shadowfacts/discordchat/one_seven_ten
1.8.9/src/main/java/net/shadowfacts/discordchat/one_eight_nine
5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public ITextComponent getDisplayName() {
32
32
33
33
@ Override
34
34
public void sendMessage (ITextComponent component ) {
35
- OneTenTwoMod .discordChat .sendMessage (OneTenTwoMod .discordChat .getFormatter ().command (component .getUnformattedText ()));
35
+ OneTenTwoMod .discordChat .sendMessage (OneTenTwoMod .discordChat .getFormatter ().command ("```" + component .getUnformattedText () + "```" ));
36
36
}
37
37
38
38
@ Override
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public ITextComponent getDisplayName() {
32
32
33
33
@ Override
34
34
public void sendMessage (ITextComponent component ) {
35
- OneElevenTwoMod .discordChat .sendMessage (OneElevenTwoMod .discordChat .getFormatter ().command (component .getUnformattedText ()));
35
+ OneElevenTwoMod .discordChat .sendMessage (OneElevenTwoMod .discordChat .getFormatter ().command ("```" + component .getUnformattedText () + "```" ));
36
36
}
37
37
38
38
@ Override
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public ITextComponent getDisplayName() {
32
32
33
33
@ Override
34
34
public void sendMessage (ITextComponent component ) {
35
- OneTwelveTwoMod .discordChat .sendMessage (OneTwelveTwoMod .discordChat .getFormatter ().command (component .getUnformattedText ()));
35
+ OneTwelveTwoMod .discordChat .sendMessage (OneTwelveTwoMod .discordChat .getFormatter ().command ("```" + component .getUnformattedText () + "```" ));
36
36
}
37
37
38
38
@ Override
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public IChatComponent getFormattedCommandSenderName() {
27
27
28
28
@ Override
29
29
public void addChatMessage (IChatComponent component ) {
30
- OneSevenTenMod .discordChat .sendMessage (OneSevenTenMod .discordChat .getFormatter ().command (component .getUnformattedText ()));
30
+ OneSevenTenMod .discordChat .sendMessage (OneSevenTenMod .discordChat .getFormatter ().command ("```" + component .getUnformattedText () + "```" ));
31
31
}
32
32
33
33
@ Override
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public IChatComponent getDisplayName() {
29
29
30
30
@ Override
31
31
public void addChatMessage (IChatComponent component ) {
32
- OneEightNineMod .discordChat .sendMessage (OneEightNineMod .discordChat .getFormatter ().command (component .getUnformattedText ()));
32
+ OneEightNineMod .discordChat .sendMessage (OneEightNineMod .discordChat .getFormatter ().command ("```" + component .getUnformattedText () + "```" ));
33
33
}
34
34
35
35
@ Override
You can’t perform that action at this time.
0 commit comments