From 5a2205e567ba4ee440335612431eedd73a4a241b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatrice=20Dellac=C3=A0?= Date: Tue, 20 Dec 2022 15:15:03 +0100 Subject: [PATCH] Remove deprecated and unused private method --- .../wtf/beatrice/hidekobot/commands/base/ClearChat.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/wtf/beatrice/hidekobot/commands/base/ClearChat.java b/src/main/java/wtf/beatrice/hidekobot/commands/base/ClearChat.java index aa20826..9485615 100644 --- a/src/main/java/wtf/beatrice/hidekobot/commands/base/ClearChat.java +++ b/src/main/java/wtf/beatrice/hidekobot/commands/base/ClearChat.java @@ -168,15 +168,6 @@ public class ClearChat } } - private void respond(Object responseFlowObj, String content) - { - if(responseFlowObj instanceof InteractionHook) { - ((InteractionHook) responseFlowObj).editOriginal(content).queue(); - } else if (responseFlowObj instanceof Message) { - ((Message) responseFlowObj).reply(content).queue(); - } - } - // cap the amount to avoid abuse. public static int getMaxAmount() { return 1000; }