+ Added dew command and generated CSV content for it
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package commands.dew;
|
||||
|
||||
import core.Command;
|
||||
import core.LocStrings;
|
||||
import core.SubCommandFramework;
|
||||
import dataStructures.KittyChannel;
|
||||
import dataStructures.KittyGuild;
|
||||
@@ -11,8 +12,18 @@ import dataStructures.Response;
|
||||
import dataStructures.UserInput;
|
||||
|
||||
public class CommandDew extends Command {
|
||||
|
||||
|
||||
SubCommandFramework framework = new SubCommandFramework();
|
||||
|
||||
@Override
|
||||
public String getHelpText() { return LocStrings.stub("DewInfo"); }
|
||||
|
||||
@Override
|
||||
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
framework.run(guild, channel, user, input).Call(res);
|
||||
}
|
||||
|
||||
public CommandDew(KittyRole level, KittyRating rating)
|
||||
{
|
||||
super(level, rating);
|
||||
@@ -20,9 +31,4 @@ public class CommandDew extends Command {
|
||||
framework.addCommand("start", new CommandDewStart(KittyRole.Dev, KittyRating.Safe));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
framework.run(guild, channel, user, input).Call(res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user