Initial Commit
Initial commit of project.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package commands;
|
||||
|
||||
import core.Command;
|
||||
import dataStructures.*;
|
||||
|
||||
public class CommandBeansShow extends Command
|
||||
{
|
||||
public CommandBeansShow(KittyRole level, KittyRating rating) { super(level, rating); }
|
||||
|
||||
@Override
|
||||
public String HelpText() { return "Displays how many beans you have"; };
|
||||
|
||||
@Override
|
||||
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
String beans = "You have " + user.GetBeans() + " beans!";
|
||||
res.Call(beans);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user