=Update for Beans

Fixes and updates for beans
This commit is contained in:
Alex Stewart
2020-09-29 02:42:01 -04:00
parent 20a16f2c74
commit 6ddb0fc532
3 changed files with 3 additions and 37 deletions
+1 -1
View File
@@ -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) {
+2 -1
View File
@@ -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
}
}
}