=More SubCommand Routine Mods

This commit is contained in:
Alex
2019-07-03 01:40:10 -04:00
parent 2f2474fde8
commit 47441e06ed
11 changed files with 81 additions and 55 deletions
+22
View File
@@ -0,0 +1,22 @@
package commands.poll;
import core.SubCommand;
import core.SubCommandFormattable;
import dataStructures.KittyChannel;
import dataStructures.KittyGuild;
import dataStructures.KittyRating;
import dataStructures.KittyRole;
import dataStructures.KittyUser;
public class SubCommandEnd extends SubCommand
{
public SubCommandEnd(KittyRole roleLevel, KittyRating contentRating) {super(roleLevel, contentRating); }
@Override
public SubCommandFormattable OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, String input)
{
return new SubCommandFormattable (guild.endPoll());
}
}