gitflow-hotfix-stash: slowmerge

This commit is contained in:
Matthew Cech
2019-10-17 22:39:56 -07:00
parent bbbb138f5e
commit afb27df33d
8 changed files with 271 additions and 7 deletions
+5 -2
View File
@@ -2,6 +2,7 @@ package commands.music;
import core.Command;
import core.LocStrings;
import core.SubCommandFormattable;
import core.SubCommandFramework;
import dataStructures.*;
@@ -9,7 +10,7 @@ public class CommandMusicMain extends Command
{
SubCommandFramework framework = new SubCommandFramework();
public CommandMusicMain(KittyRole level, KittyRating rating)
{
{
super(level, rating);
framework.addCommand("join", new SubCommandJoin(KittyRole.General, KittyRating.Safe));
framework.addCommand("leave", new SubCommandLeave(KittyRole.General, KittyRating.Safe));
@@ -22,6 +23,8 @@ public class CommandMusicMain extends Command
@Override
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
{
framework.run(guild, channel, user, input).Call(res);
SubCommandFormattable scf = framework.run(guild, channel, user, input);
System.out.println("SCF: " + scf.resString);
scf.Call(res);
}
}
+1 -1
View File
@@ -25,8 +25,8 @@ public class SubCommandAddTrack extends SubCommand
//Get track from Youtube
String video = YT.getYT(input.args);
ac.loadAndPlay(video, guild);
System.out.println("Internal: " + ac.response);
System.out.println(ac.response);
return new SubCommandFormattable(video);
}
}