diff --git a/src/commands/general/CommandWeh.java b/src/commands/general/CommandWeh.java new file mode 100644 index 0000000..4a6011d --- /dev/null +++ b/src/commands/general/CommandWeh.java @@ -0,0 +1,29 @@ +package commands.general; + +import core.Command; +import core.LocStrings; +import dataStructures.KittyChannel; +import dataStructures.KittyGuild; +import dataStructures.KittyRating; +import dataStructures.KittyRole; +import dataStructures.KittyUser; +import dataStructures.Response; +import dataStructures.UserInput; + +public class CommandWeh extends Command { + + public String getHelpText() { return LocStrings.stub("WehInfo"); } + + public CommandWeh(KittyRole roleLevel, KittyRating contentRating) { + super(roleLevel, contentRating); + // TODO Auto-generated constructor stub + } + + @Override + // The format for reutrning an emoji is: <:name:ID#> + public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res) + { + res.send("<:weh:548301646929723393>"); + } + +} diff --git a/src/core/CommandManager.java b/src/core/CommandManager.java index d7a0eb8..c586a0e 100644 --- a/src/core/CommandManager.java +++ b/src/core/CommandManager.java @@ -71,6 +71,7 @@ public class CommandManager this.register(LocCommands.stub("tweet"), new CommandTweet(KittyRole.Dev, KittyRating.Safe)); this.register(LocCommands.stub("dbflush"), new CommandDBFlush(KittyRole.Dev, KittyRating.Safe)); this.register(LocCommands.stub("dbstats"), new CommandDBStats(KittyRole.Dev, KittyRating.Safe)); + this.register(LocCommands.stub("dew"), new CommandDew(KittyRole.Dev, KittyRating.Safe)); // Admin this.register(LocCommands.stub("rating"), new CommandRating(KittyRole.Admin, KittyRating.Safe)); @@ -115,7 +116,7 @@ public class CommandManager this.register(LocCommands.stub("raffle"), new CommandRaffleMain(KittyRole.General, KittyRating.Safe)); this.register(LocCommands.stub("poll"), new CommandPollMain(KittyRole.General, KittyRating.Safe)); this.register(LocCommands.stub("music"), new CommandMusicMain(KittyRole.General, KittyRating.Safe)); - this.register(LocCommands.stub("dew"), new CommandDew(KittyRole.Dev, KittyRating.Safe)); + this.register(LocCommands.stub("weh"), new CommandWeh(KittyRole.General, KittyRating.Safe)); } // Allows the command manager to keep track of a command. Takes a pair (the un-localized and localzied commands)