Clean up code.

master
Nekojimi 1 year ago
parent 07b45309c1
commit abfab9a18d
  1. 8
      src/main/java/moe/nekojimi/chords/commands/Command.java
  2. 1
      src/main/java/moe/nekojimi/chords/commands/Invocation.java

@ -16,7 +16,6 @@ public abstract class Command
protected final Chords bot; protected final Chords bot;
protected final String keyword; protected final String keyword;
protected String documentation;
public Command(Chords bot, String keyword) public Command(Chords bot, String keyword)
{ {
@ -31,9 +30,8 @@ public abstract class Command
return keyword; return keyword;
} }
public String getDocumentation() // public abstract String synopsis();
{ //
return documentation; // public abstract String help();
}
} }

@ -19,7 +19,6 @@ package moe.nekojimi.chords.commands;
import java.util.List; import java.util.List;
import net.dv8tion.jda.api.entities.Message; import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent; import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import net.dv8tion.jda.api.requests.restaction.MessageCreateAction;
/** /**
* *

Loading…
Cancel
Save