Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b87d6e0c80 |
@@ -0,0 +1,31 @@
|
||||
package commands;
|
||||
|
||||
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;
|
||||
|
||||
// Displays Patreon sponsors that donate to help pay for hosting and stuff!
|
||||
public class CommandSponsors extends Command
|
||||
{
|
||||
public CommandSponsors(KittyRole level, KittyRating rating) { super(level, rating); }
|
||||
|
||||
@Override
|
||||
public String HelpText() { return LocStrings.Stub("SponsorInfo"); }
|
||||
|
||||
@Override
|
||||
public void OnRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
String out = "Thanks to our Patreon sponsors!\n";
|
||||
out += "\n"; //...
|
||||
out += LocStrings.Stub("SponsorSupportLink"); // Consideration: "Want to get your name on this command and support development? Support us at <https://www.patreon.com/Kittybot>!\n"
|
||||
|
||||
res.Call(out);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -375,6 +375,7 @@ public class ObjectBuilderFactory
|
||||
manager.Register(LocCommands.Stub("tony, stark, dontfeelgood, dontfeelsogood"), new CommandStark(KittyRole.General, KittyRating.Safe));
|
||||
manager.Register(LocCommands.Stub("blur"), new CommandBlurry(KittyRole.General, KittyRating.Safe));
|
||||
manager.Register(LocCommands.Stub("eightball, 8ball"), new CommandEightBall(KittyRole.General, KittyRating.Safe));
|
||||
manager.Register(LocCommands.Stub("sponsor, sponsors, patreon"), new CommandSponsors(KittyRole.General, KittyRating.Safe));
|
||||
|
||||
return manager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user