=Update for Beans
Fixes and updates for beans
This commit is contained in:
@@ -33,7 +33,7 @@ public class CommandBeansShow extends Command
|
||||
{
|
||||
if(input.mentions == null)
|
||||
{
|
||||
res.send("" + user.getBeans());
|
||||
//res.send("" + user.getBeans());
|
||||
try {
|
||||
res.sendFile(combineImages(user.getBeans()), "png");
|
||||
} catch (IOException e) {
|
||||
|
||||
@@ -36,7 +36,8 @@ public class CommandBetBeans extends Command
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
GlobalLog.log(LogFilter.Command, "Betting took place, but a value was not specified in the config file so 50 was used as the minimum bet threshold. Consider specifying BetBeansMinThreshold.");
|
||||
GlobalLog.log(LogFilter.Command, "Betting took place, but a value was not specified in the config file "
|
||||
+ "so 50 was used as the minimum bet threshold. Consider specifying BetBeansMinThreshold.");
|
||||
}
|
||||
|
||||
try
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
package commands.guildrole;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import core.Command;
|
||||
import core.ObjectBuilderFactory;
|
||||
import dataStructures.KittyChannel;
|
||||
import dataStructures.KittyGuild;
|
||||
import dataStructures.KittyRating;
|
||||
import dataStructures.KittyRole;
|
||||
import dataStructures.KittyUser;
|
||||
import dataStructures.Response;
|
||||
import dataStructures.UserInput;
|
||||
import net.dv8tion.jda.core.JDA;
|
||||
|
||||
public class CommandWipeRoles extends Command
|
||||
{
|
||||
|
||||
public CommandWipeRoles(KittyRole roleLevel, KittyRating contentRating) {super(roleLevel, contentRating);
|
||||
// TODO Auto-generated constructor stub
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRun(KittyGuild guild, KittyChannel channel, KittyUser user, UserInput input, Response res)
|
||||
{
|
||||
JDA kitty = res.getKitty();
|
||||
ArrayList guilds = (ArrayList) kitty.getGuilds();
|
||||
KittyGuild guildx;
|
||||
|
||||
for(int i = 0; i < guilds.size(); i ++)
|
||||
{
|
||||
guildx = ObjectBuilderFactory.extractGuild
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user