Skip to content

Commit

Permalink
v7.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
deso85 committed Jul 1, 2022
1 parent fd44247 commit 5ef126d
Show file tree
Hide file tree
Showing 7 changed files with 282 additions and 246 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>Antony</groupId>
<artifactId>Antony</artifactId>
<version>7.0.7</version>
<version>7.0.8</version>

<properties>
<resteasy.version>3.5.1.Final</resteasy.version>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/bot/antony/CommandManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import bot.antony.commands.ArchiveCmd;
import bot.antony.commands.CategoryCmd;
import bot.antony.commands.ChangelogCmd;
import bot.antony.commands.Channel;
import bot.antony.commands.ChannelCmd;
import bot.antony.commands.CommandCmd;
import bot.antony.commands.Giveaway;
import bot.antony.commands.GuildCmd;
Expand Down Expand Up @@ -51,6 +51,7 @@ public CommandManager() {
commands.put("addhb", new AddHBCmd());
commands.put("archive", new ArchiveCmd());
commands.put("category", new CategoryCmd());
commands.put("channel", new ChannelCmd());
commands.put("command", new CommandCmd());
commands.put("emergency", new EmergencyCmd());
commands.put("guild", new GuildCmd());
Expand Down Expand Up @@ -85,7 +86,6 @@ public CommandManager() {

// Admin
adminCommands.put("blacklist", new Blacklist());
adminCommands.put("channel", new Channel());
}

public boolean perform(String command, Member member, TextChannel channel, Message message) {
Expand Down
1 change: 0 additions & 1 deletion src/main/java/bot/antony/commands/AntonyCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ private EmbedBuilder getCommandList(Member member) {
//Commands for admins
BotCommand blacklist = new BotCommand("blacklist", "Funktion zur Verwaltung von Begriffen, die zur sofortigen Löschung des Beitrags führen und das Mod-Team darüber benachrichtigen.", "add d1scord.hack");
BotCommand channel = new BotCommand("channel", "Funktion, die z.B. dafür genutzt werden kann, alle Kanäle auszugeben, in denen schon länger keine Inhalte mehr gepostet wurden.", "list abandoned");
}*/

Expand Down
1 change: 1 addition & 0 deletions src/main/java/bot/antony/commands/ChangelogCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public void performCommand(Member member, TextChannel channel, Message message)
private List<ChangeLogEntry> getChangeLog(int limit) {
String cmdPrefix = Antony.getCmdPrefix();
List<ChangeLogEntry> changeLog = new ArrayList<ChangeLogEntry>();
changeLog.add(new ChangeLogEntry("01.07.2022 - Version 7.0.8", "Die ***" + cmdPrefix + "channel*** Funktion wurde auf das neue Berechtigungssystem portiert."));
changeLog.add(new ChangeLogEntry("28.06.2022 - Version 7.0.7", "Die ***" + cmdPrefix + "addhb*** Funktion wurde auf das neue Berechtigungssystem portiert und kann jetzt Haltungsberichte zu Gattungen (z.B.: Lasius sp.) und vermuteten Arten (z.B.: Lasius cf. niger) anlegen."));
changeLog.add(new ChangeLogEntry("25.06.2022 - Version 7.0.6", "Die ***" + cmdPrefix + "guild*** Funktion wurde auf das neue Berechtigungssystem portiert."));
changeLog.add(new ChangeLogEntry("17.06.2022 - Version 7.0.5", "Ein Fehler hat dafür gesorgt, dass der ***" + cmdPrefix + "emergency*** Befehl nicht zuverlässig funktioniert hat. Dieser wurde behoben."));
Expand Down
240 changes: 0 additions & 240 deletions src/main/java/bot/antony/commands/Channel.java

This file was deleted.

Loading

0 comments on commit 5ef126d

Please sign in to comment.