Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit 02e1979

Browse files
authored
Updated some stuff.
Bug fix.
1 parent 20ba235 commit 02e1979

8 files changed

Lines changed: 10 additions & 4 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>me.jaskowicz</groupId>
88
<artifactId>minecraftdiscordrelay</artifactId>
9-
<version>1.1</version>
9+
<version>1.1.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>MinecraftDiscordRelay</name>

src/main/java/me/jaskowicz/minecraftdiscordrelay/Utils/LogAppender.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ public void append(LogEvent event) {
6363
if(Minecraftdiscordrelay.advancedConsole) {
6464
Objects.requireNonNull(Objects.requireNonNull(Minecraftdiscordrelay.jda.getGuildById(Minecraftdiscordrelay.guildID)).getTextChannelById(Minecraftdiscordrelay.consoleChannelID))
6565
.sendMessage(message).queue();
66+
} else {
67+
if (message.contains("Unknown command. Type \"/help\" for help.")) {
68+
Objects.requireNonNull(Objects.requireNonNull(Minecraftdiscordrelay.jda.getGuildById(Minecraftdiscordrelay.guildID)).getTextChannelById(Minecraftdiscordrelay.consoleChannelID))
69+
.sendMessage("::warning: Unknown command. Type \"/help\" for help.").queue();
70+
71+
}
6672
}
6773
}
6874
}
Binary file not shown.

target/classes/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: MinecraftDiscordRelay
2-
version: 1.1
2+
version: 1.1.1
33
main: me.jaskowicz.minecraftdiscordrelay.Minecraftdiscordrelay
44
api-version: 1.13
55
prefix: MinecraftDiscordRelay(MCDR)
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven
2-
#Mon Feb 03 00:28:54 GMT 2020
2+
#Mon Feb 03 01:05:31 GMT 2020
33
groupId=me.jaskowicz
44
artifactId=minecraftdiscordrelay
5-
version=1.1
5+
version=1.1.1
8.54 MB
Binary file not shown.
8.54 MB
Binary file not shown.
20.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)