@@ -0,0 +1,2072 @@
+package me.spencersederberg.discordbansbot.commands;%0A%0Aimport java.sql.SQLException;%0A%0Aimport me.spencersederberg.discordbansbot.BanAPI;%0Aimport net.dv8tion.jda.core.EmbedBuilder;%0Aimport net.dv8tion.jda.core.Permission;%0Aimport net.dv8tion.jda.core.entities.Message;%0Aimport net.dv8tion.jda.core.entities.User;%0Aimport net.dv8tion.jda.core.events.message.MessageReceivedEvent;%0Aimport net.dv8tion.jda.core.hooks.ListenerAdapter;%0A%0Apublic class CommandLookup extends ListenerAdapter %7B%0A    %0A%09/**%0A%09 * If an Administrator or Owner is suspicious user, they can quickly query%0A%09 * for an answer. %0A%09 */%0A%09@Override%0A%09public void onMessageReceived(MessageReceivedEvent e) %7B%0A%09%09Message message = e.getMessage();%0A%09%09%0A%09%09if(message.getContent().startsWith(%22?lookup%22)) %7B%0A%09%09    %0A%09%09%09if(e.getMember().isOwner() %7C%7C e.getMember().hasPermission(Permission.BAN_MEMBERS)) %7B%0A%09%09%09    %0A%09%09%09%09if(!message.getMentionedUsers().isEmpty()) %7B%0A%09%09%09%09    %0A%09%09%09%09%09for(User user : message.getMentionedUsers()) %7B%0A%09%09%09%09%09    %0A%09%09%09%09%09%09try %7B%0A%09%09%09%09%09%09    %0A%09%09%09%09%09%09%09EmbedBuilder eb = new EmbedBuilder();%0A%09%09%09%09%09%09%09if(BanAPI.getAPI().userExists(user.getId())) %7B%0A%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%09%09eb.setAuthor(e.getJDA().getSelfUser().getName(), %22https://ssederberg.github.io%22, e.getJDA().getSelfUser().getAvatarUrl());%0A%09%09%09%09%09%09%09%09eb.setDescription(%22This user has been banned from guilds in the past, here's a summary.%22);%0A%09%09%09%09%09%09%09%09try %7B %0A%09%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%09%09%09eb.addField(%22Ban Count:%22, String.valueOf(BanAPI.getAPI().getBanCount(e.getMember().getUser().getId())), true); //Shows ban count%0A%09%09%09%09%09%09%09%09%09eb.addField(%22Last Ban Date:%22, BanAPI.getAPI().getLastBanDate(e.getMember().getUser().getId()), true); // Shows last ban date%0A%09%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%09%09%7D catch (SQLException ex) %7B ex.printStackTrace(); %7D%0A%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%09%7D else %7B%0A%09%09%09%09%09%09%09%09e.getChannel().sendMessage(%22The user requested was not found!%22);%0A%09%09%09%09%09%09%09%7D%0A%09%09%09%09%09%09%09message.getChannel().sendMessage(eb.build()).queue();%0A%09%09%09%09%09%09%7D catch (SQLException ex) %7B ex.printStackTrace(); %7D%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D else %7B%0A%09%09%09%09    e.getChannel().sendMessage(%22No (mentioned) users were specified in your request please try again!%22);%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Create CommandLookup.java