Remove TODOs, fix typos, formatting

This commit is contained in:
Salmonllama 2020-07-30 18:29:59 -04:00
parent f826d0ed69
commit 0def36a4a1
4 changed files with 3 additions and 5 deletions

View File

@ -37,8 +37,8 @@ public class Main {
api.addMessageCreateListener(new AchievementListener());
api.addMessageCreateListener(new ReportListener());
System.out.println(String.format("Bot invite: %s", api.createBotInvite()));
System.out.println(String.format("Logged in as %s", api.getYourself().getDiscriminatedName()));
System.out.printf("Bot invite: %s%n", api.createBotInvite());
System.out.printf("Logged in as %s%n", api.getYourself().getDiscriminatedName());
});
}
}

View File

@ -5,7 +5,6 @@
package dev.salmonllama.fsbot.commands.staff;
import dev.salmonllama.fsbot.config.BotConfig;
import dev.salmonllama.fsbot.database.controllers.OutfitController;
import dev.salmonllama.fsbot.guthix.Command;
import dev.salmonllama.fsbot.guthix.CommandContext;

View File

@ -79,7 +79,6 @@ public class RetagCommand extends Command {
msg.delete();
ctx.reply(embed);
// TODO: Log the action in FSBot-log
EmbedBuilder log = new EmbedBuilder()
.setTitle("Outfit Retagged")

View File

@ -402,7 +402,7 @@ public class OutfitController {
.setTag(rs.getString("tag"))
.setMeta(rs.getString("meta"))
.setCreated(new Timestamp(rs.getLong("created")))
.setUpdated(new Timestamp((rs.getLong("updated"))))
.setUpdated(new Timestamp(rs.getLong("updated")))
.setDeleted(rs.getBoolean("deleted"))
.setFeatured(rs.getBoolean("featured"))
.setDisplayCount(rs.getInt("display_count"))