20 lines
556 B
Java
20 lines
556 B
Java
package commands;
|
|
|
|
import core.Command;
|
|
import core.Localizer;
|
|
import dataStructures.*;
|
|
|
|
public class CommandBeansShow extends Command
|
|
{
|
|
public CommandBeansShow(KittyRole level, KittyRating rating) { super(level, rating); }
|
|
|
|
@Override
|
|
public String HelpText() { return Localizer.Stub("Displays how many beans you have"); };
|
|
|
|
@Override
|
|
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
|
{
|
|
res.Call(String.format(Localizer.Stub("You have %s beans!"), user.GetBeans()));
|
|
}
|
|
}
|