unfinished commit
help is in a half written state and command manager may be unstable due to unfinished checks with optional wildcard arguments, rewrite pending Signed-off-by: deepCurse <leverplays@gmail.com>
This commit is contained in:
parent
a5027a1790
commit
addfa80197
6 changed files with 239 additions and 115 deletions
|
@ -24,7 +24,6 @@ public class Prefix implements GuildCommandInterface {
|
|||
public void runGuildCommand(GuildCommandBlob blob, HashMap<String, Argument> argumentList) throws Exception {
|
||||
|
||||
if (argumentList.get("prefix") != null) {
|
||||
// System.out.println(argumentList.get("prefix").getWildCardString());
|
||||
Guild.Prefix.setPrefix(
|
||||
blob.getEvent().getGuild().getIdLong(), argumentList.get("prefix").getWildCardString());
|
||||
blob.getEvent().getChannel().sendMessage("Set prefix to " + argumentList.get("prefix").getWildCardString()).queue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue