Skip to content

Commit

Permalink
1.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Xujiayao committed Nov 5, 2021
1 parent a6e2098 commit 3caa30e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ minecraft_version=1.17.1
yarn_mappings=1.17.1+build.63
loader_version=0.12.4
# Mod Properties
mod_version=1.17-1.10.5
mod_version=1.17-1.10.6
maven_group=top.xujiayao
archives_base_name=MCDiscordChat
# Dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,17 +255,6 @@ public void onMessageReceived(MessageReceivedEvent e) {
LiteralText coloredText;
LiteralText colorlessText;

// e.getChannel().sendMessage(new EmbedBuilder()
// .setTitle("Test")
// .setColor(Color.red)
// .setDescription("Description")
// .addField("Title of field", "test of field", false)
// .setAuthor("name", null, "https://blog.xujiayao.top/file/avatar.jpg")
// .setFooter("Text", "https://github.com/zekroTJA/DiscordBot/blob/master/.websrc/zekroBot_Logo_-_round_small.png")
// .setImage("https://github.com/zekroTJA/DiscordBot/blob/master/.websrc/logo%20-%20title.png")
// .setThumbnail("https://github.com/zekroTJA/DiscordBot/blob/master/.websrc/logo%20-%20title.png")
// .build()).queue();

StringBuilder message = new StringBuilder(e.getMessage().getContentDisplay()
.replace("§", Main.texts.removeVanillaFormattingFromDiscord() ? "&" : "§")
.replace("\n", Main.texts.removeLineBreakFromDiscord() ? " " : "\n")
Expand Down
2 changes: 1 addition & 1 deletion update/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.17-1.10.5"}
{"version":"1.17-1.10.6"}

0 comments on commit 3caa30e

Please sign in to comment.