Skip to content

Commit 96a7718

Browse files
committed
MCSManager Bot V.1.0.1
Removed Ticket Panel Creation Command
1 parent c5e6fd1 commit 96a7718

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

build.gradle.kts

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

77
application.mainClass = "com.mcsmanager.bot.Bot"
88
group = "com.mcsmanager"
9-
version = "1.0.0"
9+
version = "1.0.1"
1010

1111
repositories {
1212
mavenCentral()

src/main/java/com/mcsmanager/bot/Bot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*/
3030
public class Bot {
3131
/** Current version of the bot */
32-
public static final String VERSION = "1.0.0";
32+
public static final String VERSION = "1.0.1";
3333

3434

3535
/** Storage for vote data across suggestion forums */

src/main/java/com/mcsmanager/bot/command/CommandRegistry.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ public static List<CommandData> registerCommands() {
3434

3535
CommandData reload = Commands.slash("reloadconfig", "Reloads the bot's configuration");
3636

37-
CommandData createTicketPanel = Commands.slash("createticketpanel", "Creates a ticket panel in a specified channel")
38-
.addOptions(new OptionData(OptionType.CHANNEL, "channel", "The channel where the ticket panel should be created", true));
39-
40-
return List.of(faq, info, close, sendFaq, reload, createTicketPanel);
37+
return List.of(faq, info, close, sendFaq, reload);
4138
}
4239
}

src/main/java/com/mcsmanager/bot/util/CloseHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ public void onButtonInteraction(ButtonInteractionEvent event) {
175175

176176
try {
177177
closeThread(thread, member, guild, embed -> {
178-
// Nachricht mit dem Ergebnis editieren
179178
event.getHook().editOriginalEmbeds(embed).setComponents().queue();
180179
});
181180
} catch (IOException e) {

0 commit comments

Comments
 (0)