From 4fb60225249443c762abeee80016dd578d074dfd Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Fri, 9 Apr 2021 09:41:53 +0200 Subject: [PATCH] Removed unused function in Command Signed-off-by: Louis Vallat --- app/src/main/java/xyz/vallat/louis/commands/Command.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/xyz/vallat/louis/commands/Command.java b/app/src/main/java/xyz/vallat/louis/commands/Command.java index b71cd12..e63ab7a 100644 --- a/app/src/main/java/xyz/vallat/louis/commands/Command.java +++ b/app/src/main/java/xyz/vallat/louis/commands/Command.java @@ -50,8 +50,4 @@ public abstract class Command { .addField("IDENTIFIER", errorCode, false).setTimestamp(Instant.now()); })).then(); } - - protected String[] getArgArray(MessageCreateEvent event) { - return event.getMessage().getContent().substring(name.length()).split(" "); - } }