java: package renames

This commit is contained in:
Tyler Wilding
2025-12-08 23:03:01 -05:00
parent 967170645c
commit 01d064b51b
110 changed files with 505 additions and 443 deletions

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.time.OffsetDateTime;
import java.util.ArrayList;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
public class CompatIndex {

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.io.IOException;
import java.util.Set;
@@ -32,8 +32,8 @@ import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Refreshable;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Refreshable;
public class CpuIndex implements Refreshable {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.awt.Color;
import java.time.Duration;
@@ -8,13 +8,14 @@ import java.util.Optional;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.AttachmentObject;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject.Action;
import io.github.redpanda4552.HifumiBot.util.DateTimeUtils;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.AttachmentObject;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.database.objects.WarezEventObject;
import net.pcsx2.hifumi.database.objects.WarezEventObject.Action;
import net.pcsx2.hifumi.util.DateTimeUtils;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Message.Attachment;
import net.dv8tion.jda.api.entities.MessageEmbed;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.io.IOException;
import java.util.HashMap;
@@ -31,9 +31,10 @@ import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.yaml.snakeyaml.Yaml;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Refreshable;
import net.pcsx2.hifumi.util.EmbedUtil;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Refreshable;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.MessageEmbed;
import okhttp3.Request;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.io.IOException;
import java.util.HashMap;
@@ -33,8 +33,8 @@ import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Refreshable;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Refreshable;
public class GpuIndex implements Refreshable {

View File

@@ -21,35 +21,35 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.time.Duration;
import java.time.Instant;
import com.deepl.api.Translator;
import net.pcsx2.hifumi.command.CommandIndex;
import net.pcsx2.hifumi.config.Config;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.config.ConfigType;
import net.pcsx2.hifumi.config.DynCmdConfig;
import net.pcsx2.hifumi.config.EmulogParserConfig;
import net.pcsx2.hifumi.config.SettingsIniParserConfig;
import net.pcsx2.hifumi.database.SQLite;
import net.pcsx2.hifumi.event.AutoModEventListener;
import net.pcsx2.hifumi.event.ButtonEventListener;
import net.pcsx2.hifumi.event.MemberEventListener;
import net.pcsx2.hifumi.event.MessageContextCommandListener;
import net.pcsx2.hifumi.event.MessageEventListener;
import net.pcsx2.hifumi.event.ModalEventListener;
import net.pcsx2.hifumi.event.RoleEventListener;
import net.pcsx2.hifumi.event.SelectMenuEventListener;
import net.pcsx2.hifumi.event.SlashCommandListener;
import net.pcsx2.hifumi.event.UserEventListener;
import net.pcsx2.hifumi.permissions.PermissionManager;
import net.pcsx2.hifumi.util.Log;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Strings;
import io.github.redpanda4552.HifumiBot.command.CommandIndex;
import io.github.redpanda4552.HifumiBot.config.Config;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.config.ConfigType;
import io.github.redpanda4552.HifumiBot.config.DynCmdConfig;
import io.github.redpanda4552.HifumiBot.config.EmulogParserConfig;
import io.github.redpanda4552.HifumiBot.config.SettingsIniParserConfig;
import io.github.redpanda4552.HifumiBot.database.SQLite;
import io.github.redpanda4552.HifumiBot.event.AutoModEventListener;
import io.github.redpanda4552.HifumiBot.event.ButtonEventListener;
import io.github.redpanda4552.HifumiBot.event.MemberEventListener;
import io.github.redpanda4552.HifumiBot.event.MessageContextCommandListener;
import io.github.redpanda4552.HifumiBot.event.MessageEventListener;
import io.github.redpanda4552.HifumiBot.event.ModalEventListener;
import io.github.redpanda4552.HifumiBot.event.RoleEventListener;
import io.github.redpanda4552.HifumiBot.event.SelectMenuEventListener;
import io.github.redpanda4552.HifumiBot.event.SlashCommandListener;
import io.github.redpanda4552.HifumiBot.event.UserEventListener;
import io.github.redpanda4552.HifumiBot.permissions.PermissionManager;
import io.github.redpanda4552.HifumiBot.util.Log;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Strings;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.entities.Activity;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot;
package net.pcsx2.hifumi;
import java.util.HashMap;
import java.util.Set;

View File

@@ -1,15 +1,16 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.awt.Color;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Strings;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Strings;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.components.actionrow.ActionRow;
import net.dv8tion.jda.api.components.buttons.Button;

View File

@@ -1,15 +1,16 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.awt.Color;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.AutoModEventObject;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.Log;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.AutoModEventObject;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.Log;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.User;

View File

@@ -1,9 +1,10 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.util.List;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Role;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;

View File

@@ -1,11 +1,12 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.stream.Collectors;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import net.pcsx2.hifumi.HifumiBot;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;

View File

@@ -1,11 +1,12 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.List;
import java.util.stream.Collectors;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import net.pcsx2.hifumi.HifumiBot;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;

View File

@@ -1,14 +1,15 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.awt.Color;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.User;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.async;
package net.pcsx2.hifumi.async;
import java.awt.Color;
import java.time.Duration;
@@ -6,12 +6,13 @@ import java.util.ArrayList;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.Strings;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.Strings;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.User;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.charting;
package net.pcsx2.hifumi.charting;
public class AutomodChartData {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.charting;
package net.pcsx2.hifumi.charting;
import java.awt.Color;
import java.io.ByteArrayOutputStream;
@@ -13,8 +13,8 @@ import org.jfree.chart.renderer.category.BarRenderer;
import org.jfree.chart.renderer.category.StandardBarPainter;
import org.jfree.data.category.DefaultCategoryDataset;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.util.Messaging;
public class ChartGenerator {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.charting;
package net.pcsx2.hifumi.charting;
public class MemberChartData {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.charting;
package net.pcsx2.hifumi.charting;
public class WarezChartData {

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command;
package net.pcsx2.hifumi.command;
import net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent;
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command;
package net.pcsx2.hifumi.command;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.command;
package net.pcsx2.hifumi.command;
import net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent;
import net.dv8tion.jda.api.events.interaction.component.ButtonInteractionEvent;

View File

@@ -21,43 +21,44 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command;
package net.pcsx2.hifumi.command;
import java.util.HashMap;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.context.CommandBan;
import io.github.redpanda4552.HifumiBot.command.context.CommandReverseImage;
import io.github.redpanda4552.HifumiBot.command.context.CommandTranslateEN;
import io.github.redpanda4552.HifumiBot.command.context.CommandWarezMsg;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicChoice;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicSubcommand;
import io.github.redpanda4552.HifumiBot.command.slash.CommandAbout;
import io.github.redpanda4552.HifumiBot.command.slash.CommandBulkDelete;
import io.github.redpanda4552.HifumiBot.command.slash.CommandCPU;
import io.github.redpanda4552.HifumiBot.command.slash.CommandChartGen;
import io.github.redpanda4552.HifumiBot.command.slash.CommandDynCmd;
import io.github.redpanda4552.HifumiBot.command.slash.CommandEmulog;
import io.github.redpanda4552.HifumiBot.command.slash.CommandGPU;
import io.github.redpanda4552.HifumiBot.command.slash.CommandGameIndex;
import io.github.redpanda4552.HifumiBot.command.slash.CommandPFP;
import io.github.redpanda4552.HifumiBot.command.slash.CommandPerms;
import io.github.redpanda4552.HifumiBot.command.slash.CommandPride;
import io.github.redpanda4552.HifumiBot.command.slash.CommandPrompt;
import io.github.redpanda4552.HifumiBot.command.slash.CommandReload;
import io.github.redpanda4552.HifumiBot.command.slash.CommandRun;
import io.github.redpanda4552.HifumiBot.command.slash.CommandSay;
import io.github.redpanda4552.HifumiBot.command.slash.CommandSerial;
import io.github.redpanda4552.HifumiBot.command.slash.CommandServerMetadata;
import io.github.redpanda4552.HifumiBot.command.slash.CommandShutdown;
import io.github.redpanda4552.HifumiBot.command.slash.CommandSpamKick;
import io.github.redpanda4552.HifumiBot.command.slash.CommandTranslate;
import io.github.redpanda4552.HifumiBot.command.slash.CommandUnwarez;
import io.github.redpanda4552.HifumiBot.command.slash.CommandWarez;
import io.github.redpanda4552.HifumiBot.command.slash.CommandWarezHistory;
import io.github.redpanda4552.HifumiBot.command.slash.CommandWhois;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.context.CommandBan;
import net.pcsx2.hifumi.command.context.CommandReverseImage;
import net.pcsx2.hifumi.command.context.CommandTranslateEN;
import net.pcsx2.hifumi.command.context.CommandWarezMsg;
import net.pcsx2.hifumi.command.dynamic.DynamicChoice;
import net.pcsx2.hifumi.command.dynamic.DynamicCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicSubcommand;
import net.pcsx2.hifumi.command.slash.CommandAbout;
import net.pcsx2.hifumi.command.slash.CommandBulkDelete;
import net.pcsx2.hifumi.command.slash.CommandCPU;
import net.pcsx2.hifumi.command.slash.CommandChartGen;
import net.pcsx2.hifumi.command.slash.CommandDynCmd;
import net.pcsx2.hifumi.command.slash.CommandEmulog;
import net.pcsx2.hifumi.command.slash.CommandGPU;
import net.pcsx2.hifumi.command.slash.CommandGameIndex;
import net.pcsx2.hifumi.command.slash.CommandPFP;
import net.pcsx2.hifumi.command.slash.CommandPerms;
import net.pcsx2.hifumi.command.slash.CommandPride;
import net.pcsx2.hifumi.command.slash.CommandPrompt;
import net.pcsx2.hifumi.command.slash.CommandReload;
import net.pcsx2.hifumi.command.slash.CommandRun;
import net.pcsx2.hifumi.command.slash.CommandSay;
import net.pcsx2.hifumi.command.slash.CommandSerial;
import net.pcsx2.hifumi.command.slash.CommandServerMetadata;
import net.pcsx2.hifumi.command.slash.CommandShutdown;
import net.pcsx2.hifumi.command.slash.CommandSpamKick;
import net.pcsx2.hifumi.command.slash.CommandTranslate;
import net.pcsx2.hifumi.command.slash.CommandUnwarez;
import net.pcsx2.hifumi.command.slash.CommandWarez;
import net.pcsx2.hifumi.command.slash.CommandWarezHistory;
import net.pcsx2.hifumi.command.slash.CommandWhois;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.interactions.commands.OptionType;
import net.dv8tion.jda.api.interactions.commands.build.Commands;
import net.dv8tion.jda.api.interactions.commands.build.SlashCommandData;

View File

@@ -1,8 +1,9 @@
package io.github.redpanda4552.HifumiBot.command.context;
package net.pcsx2.hifumi.command.context;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractUserContextCommand;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractUserContextCommand;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.label.Label;
import net.dv8tion.jda.api.components.textinput.TextInput;

View File

@@ -21,13 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.context;
package net.pcsx2.hifumi.command.context;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.command.AbstractMessageContextCommand;
import net.pcsx2.hifumi.command.AbstractMessageContextCommand;
import net.dv8tion.jda.api.components.actionrow.ActionRow;
import net.dv8tion.jda.api.components.buttons.Button;
import net.dv8tion.jda.api.entities.Message;

View File

@@ -21,15 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.context;
package net.pcsx2.hifumi.command.context;
import java.awt.Color;
import com.deepl.api.TextResult;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractMessageContextCommand;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractMessageContextCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -1,10 +1,11 @@
package io.github.redpanda4552.HifumiBot.command.context;
package net.pcsx2.hifumi.command.context;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.command.AbstractMessageContextCommand;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import io.github.redpanda4552.HifumiBot.util.WarezUtil;
import net.pcsx2.hifumi.command.AbstractMessageContextCommand;
import net.pcsx2.hifumi.util.MemberUtils;
import net.pcsx2.hifumi.util.WarezUtil;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;

View File

@@ -21,9 +21,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.dynamic;
package net.pcsx2.hifumi.command.dynamic;
import net.pcsx2.hifumi.util.EmbedUtil;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.dynamic;
package net.pcsx2.hifumi.command.dynamic;
import java.util.HashMap;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.dynamic;
package net.pcsx2.hifumi.command.dynamic;
import java.util.HashMap;

View File

@@ -21,14 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.Scheduler.NoSuchRunnableException;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.config.ConfigType;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.Scheduler.NoSuchRunnableException;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.config.ConfigType;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -1,10 +1,11 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.Color;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.async.MessageBulkDeleteTargetedRunnable;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.async.MessageBulkDeleteTargetedRunnable;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;

View File

@@ -21,18 +21,19 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.HashMap;
import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.CpuIndex;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.SimpleSearch;
import net.pcsx2.hifumi.CpuIndex;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.SimpleSearch;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -1,12 +1,13 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.time.LocalDate;
import java.time.LocalTime;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
import io.github.redpanda4552.HifumiBot.charting.ChartGenerator;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.pcsx2.hifumi.charting.ChartGenerator;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -21,15 +21,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicChoice;
import net.pcsx2.hifumi.command.dynamic.DynamicCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicSubcommand;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.util.EmbedUtil;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicChoice;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicSubcommand;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.label.Label;
import net.dv8tion.jda.api.components.textinput.TextInput;

View File

@@ -21,16 +21,17 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.config.EmulogParserConfig.Rule;
import io.github.redpanda4552.HifumiBot.util.CommandUtils;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.config.EmulogParserConfig.Rule;
import net.pcsx2.hifumi.util.CommandUtils;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.actionrow.ActionRow;

View File

@@ -21,17 +21,18 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.HashMap;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.GpuIndex;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.SimpleSearch;
import net.pcsx2.hifumi.GpuIndex;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.SimpleSearch;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.ArrayList;
import java.util.Comparator;
@@ -37,9 +37,10 @@ import java.util.regex.Pattern;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.text.similarity.FuzzyScore;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.components.actionrow.ActionRow;
import net.dv8tion.jda.api.components.selections.SelectMenu;
import net.dv8tion.jda.api.components.selections.SelectOption;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.image.BufferedImage;
import java.io.ByteArrayOutputStream;
@@ -32,9 +32,10 @@ import java.net.URL;
import javax.imageio.ImageIO;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Icon;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -21,14 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Role;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -1,14 +1,15 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.time.OffsetDateTime;
import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.CounterObject;
import io.github.redpanda4552.HifumiBot.util.DateTimeUtils;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.CounterObject;
import net.pcsx2.hifumi.util.DateTimeUtils;
import net.pcsx2.hifumi.util.EmbedUtil;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -1,6 +1,7 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.label.Label;
import net.dv8tion.jda.api.components.textinput.TextInput;

View File

@@ -21,10 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -21,10 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -21,9 +21,10 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.label.Label;
import net.dv8tion.jda.api.components.textinput.TextInput;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.HashMap;
import java.util.LinkedHashMap;
@@ -31,9 +31,10 @@ import java.util.TreeSet;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.Color;
import java.time.format.DateTimeFormatter;
@@ -6,9 +6,10 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.BrowsableEmbed;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.pcsx2.hifumi.BrowsableEmbed;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.actionrow.ActionRow;

View File

@@ -21,10 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.DefaultMemberPermissions;

View File

@@ -21,18 +21,19 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member;

View File

@@ -1,14 +1,14 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.Color;
import java.util.HashMap;
import com.deepl.api.Language;
import com.deepl.api.TextResult;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -3,20 +3,21 @@
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.Color;
import java.util.ArrayList;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.config.Config.SerializedEmbedField;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.InteractionEventObject;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.RoleUtils;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.config.Config.SerializedEmbedField;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.InteractionEventObject;
import net.pcsx2.hifumi.util.MemberUtils;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.RoleUtils;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.actionrow.ActionRow;

View File

@@ -21,13 +21,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import io.github.redpanda4552.HifumiBot.util.WarezUtil;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.MemberUtils;
import net.pcsx2.hifumi.util.WarezUtil;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;

View File

@@ -1,7 +1,8 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.WarezUtil;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.WarezUtil;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.command.slash;
package net.pcsx2.hifumi.command.slash;
import java.awt.Color;
import java.time.OffsetDateTime;
@@ -8,15 +8,16 @@ import java.util.Optional;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.BrowsableEmbed;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.AutoModEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.MemberEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject;
import io.github.redpanda4552.HifumiBot.util.DateTimeUtils;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import io.github.redpanda4552.HifumiBot.util.UserUtils;
import net.pcsx2.hifumi.BrowsableEmbed;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.AutoModEventObject;
import net.pcsx2.hifumi.database.objects.MemberEventObject;
import net.pcsx2.hifumi.database.objects.WarezEventObject;
import net.pcsx2.hifumi.util.DateTimeUtils;
import net.pcsx2.hifumi.util.MemberUtils;
import net.pcsx2.hifumi.util.UserUtils;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.actionrow.ActionRow;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
import java.util.ArrayList;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
import java.io.File;
import java.io.FileOutputStream;
@@ -29,12 +29,11 @@ import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import net.pcsx2.hifumi.util.Messaging;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import io.github.redpanda4552.HifumiBot.util.Messaging;
public class ConfigManager {
// static is evil, to avoid having to change all these signatures / propagating the directory everywhere

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
public enum ConfigType {

View File

@@ -21,11 +21,11 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
import java.util.HashMap;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicCommand;
public class DynCmdConfig implements IConfig {

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
import java.util.ArrayList;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
public interface IConfig {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.config;
package net.pcsx2.hifumi.config;
import java.util.ArrayList;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database;
package net.pcsx2.hifumi.database;
import java.sql.Connection;
import java.sql.PreparedStatement;
@@ -10,22 +10,23 @@ import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.charting.AutomodChartData;
import io.github.redpanda4552.HifumiBot.charting.MemberChartData;
import io.github.redpanda4552.HifumiBot.charting.WarezChartData;
import io.github.redpanda4552.HifumiBot.database.objects.AttachmentObject;
import io.github.redpanda4552.HifumiBot.database.objects.AutoModEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.CommandEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.CounterObject;
import io.github.redpanda4552.HifumiBot.database.objects.InteractionEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.MemberEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject;
import io.github.redpanda4552.HifumiBot.util.DateTimeUtils;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.TimeUtils;
import io.github.redpanda4552.HifumiBot.util.UserUtils;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.charting.AutomodChartData;
import net.pcsx2.hifumi.charting.MemberChartData;
import net.pcsx2.hifumi.charting.WarezChartData;
import net.pcsx2.hifumi.database.objects.AttachmentObject;
import net.pcsx2.hifumi.database.objects.AutoModEventObject;
import net.pcsx2.hifumi.database.objects.CommandEventObject;
import net.pcsx2.hifumi.database.objects.CounterObject;
import net.pcsx2.hifumi.database.objects.InteractionEventObject;
import net.pcsx2.hifumi.database.objects.MemberEventObject;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.database.objects.WarezEventObject;
import net.pcsx2.hifumi.util.DateTimeUtils;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.TimeUtils;
import net.pcsx2.hifumi.util.UserUtils;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.Message.Attachment;
import net.dv8tion.jda.api.entities.User;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database;
package net.pcsx2.hifumi.database;
import java.io.FileNotFoundException;
import java.io.InputStream;
@@ -7,8 +7,8 @@ import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import io.github.redpanda4552.HifumiBot.util.Log;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.util.Log;
import net.pcsx2.hifumi.util.Messaging;
public class SQLite {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
import java.time.OffsetDateTime;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
import net.dv8tion.jda.api.entities.automod.AutoModResponse;
import net.dv8tion.jda.api.entities.automod.AutoModTriggerType;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
public class CommandEventObject {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
public class CounterObject {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
public class InteractionEventObject {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
public class MemberEventObject {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
import java.time.OffsetDateTime;
import java.util.ArrayList;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.database.objects;
package net.pcsx2.hifumi.database.objects;
import java.util.Optional;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.Instant;
import java.util.UUID;

View File

@@ -1,14 +1,15 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.OffsetDateTime;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.async.AutoModReviewRunnable;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.Log;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.async.AutoModReviewRunnable;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.Log;
import net.pcsx2.hifumi.util.MemberUtils;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.automod.AutoModResponse;
import net.dv8tion.jda.api.events.automod.AutoModExecutionEvent;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.Duration;
import java.util.ArrayList;
@@ -6,15 +6,16 @@ import java.util.HashMap;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.command.slash.CommandEmulog;
import io.github.redpanda4552.HifumiBot.command.slash.CommandServerMetadata;
import io.github.redpanda4552.HifumiBot.command.slash.CommandWhois;
import io.github.redpanda4552.HifumiBot.moderation.ModActions;
import io.github.redpanda4552.HifumiBot.util.MemberUtils;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.UserUtils;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.command.slash.CommandEmulog;
import net.pcsx2.hifumi.command.slash.CommandServerMetadata;
import net.pcsx2.hifumi.command.slash.CommandWhois;
import net.pcsx2.hifumi.moderation.ModActions;
import net.pcsx2.hifumi.util.MemberUtils;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.UserUtils;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.components.MessageTopLevelComponent;
import net.dv8tion.jda.api.components.actionrow.ActionRow;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.Duration;
import java.time.Instant;
@@ -6,12 +6,13 @@ import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.EventLogging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MemberEventObject;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.EventLogging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MemberEventObject;
import net.pcsx2.hifumi.database.objects.WarezEventObject;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Role;
import net.dv8tion.jda.api.events.guild.GuildBanEvent;

View File

@@ -21,17 +21,18 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.util.HashMap;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractMessageContextCommand;
import io.github.redpanda4552.HifumiBot.command.AbstractUserContextCommand;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.CommandEventObject;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractMessageContextCommand;
import net.pcsx2.hifumi.command.AbstractUserContextCommand;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.CommandEventObject;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.events.interaction.command.MessageContextInteractionEvent;
import net.dv8tion.jda.api.events.interaction.command.UserContextInteractionEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.Duration;
import java.time.Instant;
@@ -6,21 +6,22 @@ import java.time.OffsetDateTime;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.EventLogging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.async.AntiBotRunnable;
import io.github.redpanda4552.HifumiBot.async.EntryBarrierRunnable;
import io.github.redpanda4552.HifumiBot.async.SpamReviewRunnable;
import io.github.redpanda4552.HifumiBot.async.UrlChangeReviewRunnable;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.parse.CrashParser;
import io.github.redpanda4552.HifumiBot.parse.EmulogParser;
import io.github.redpanda4552.HifumiBot.parse.PnachParser;
import io.github.redpanda4552.HifumiBot.parse.SettingsIniParser;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.PixivSourceFetcher;
import net.pcsx2.hifumi.EventLogging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.async.AntiBotRunnable;
import net.pcsx2.hifumi.async.EntryBarrierRunnable;
import net.pcsx2.hifumi.async.SpamReviewRunnable;
import net.pcsx2.hifumi.async.UrlChangeReviewRunnable;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.parse.CrashParser;
import net.pcsx2.hifumi.parse.EmulogParser;
import net.pcsx2.hifumi.parse.PnachParser;
import net.pcsx2.hifumi.parse.SettingsIniParser;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.PixivSourceFetcher;
import net.dv8tion.jda.api.entities.channel.ChannelType;
import net.dv8tion.jda.api.events.message.MessageBulkDeleteEvent;
import net.dv8tion.jda.api.events.message.MessageDeleteEvent;

View File

@@ -1,10 +1,11 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import net.pcsx2.hifumi.modal.BanHandler;
import net.pcsx2.hifumi.modal.DyncmdHandler;
import net.pcsx2.hifumi.modal.PromptHandler;
import net.pcsx2.hifumi.modal.SayHandler;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.modal.BanHandler;
import io.github.redpanda4552.HifumiBot.modal.DyncmdHandler;
import io.github.redpanda4552.HifumiBot.modal.PromptHandler;
import io.github.redpanda4552.HifumiBot.modal.SayHandler;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;

View File

@@ -21,14 +21,15 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.time.OffsetDateTime;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.WarezEventObject;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.WarezEventObject;
import net.dv8tion.jda.api.entities.Role;
import net.dv8tion.jda.api.events.guild.member.GuildMemberRoleAddEvent;
import net.dv8tion.jda.api.events.guild.member.GuildMemberRoleRemoveEvent;

View File

@@ -3,13 +3,14 @@
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.util.HashMap;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.events.interaction.component.StringSelectInteractionEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;

View File

@@ -21,19 +21,20 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import java.util.HashMap;
import java.util.Optional;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.AbstractSlashCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicChoice;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicSubcommand;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.CommandEventObject;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.AbstractSlashCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicChoice;
import net.pcsx2.hifumi.command.dynamic.DynamicCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicSubcommand;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.CommandEventObject;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
import net.dv8tion.jda.api.interactions.commands.OptionMapping;

View File

@@ -1,6 +1,7 @@
package io.github.redpanda4552.HifumiBot.event;
package net.pcsx2.hifumi.event;
import net.pcsx2.hifumi.database.Database;
import io.github.redpanda4552.HifumiBot.database.Database;
import net.dv8tion.jda.api.events.user.update.UserUpdateGlobalNameEvent;
import net.dv8tion.jda.api.events.user.update.UserUpdateNameEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;

View File

@@ -1,12 +1,13 @@
package io.github.redpanda4552.HifumiBot.modal;
package net.pcsx2.hifumi.modal;
import java.util.Optional;
import java.util.concurrent.TimeUnit;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.async.MessageBulkDeleteRunnable;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import io.github.redpanda4552.HifumiBot.util.UserUtils;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.async.MessageBulkDeleteRunnable;
import net.pcsx2.hifumi.util.Messaging;
import net.pcsx2.hifumi.util.UserUtils;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;

View File

@@ -1,13 +1,14 @@
package io.github.redpanda4552.HifumiBot.modal;
package net.pcsx2.hifumi.modal;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.dynamic.DynamicChoice;
import net.pcsx2.hifumi.command.dynamic.DynamicCommand;
import net.pcsx2.hifumi.command.dynamic.DynamicSubcommand;
import net.pcsx2.hifumi.config.ConfigManager;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.EmbedUtil;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicChoice;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicCommand;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicSubcommand;
import io.github.redpanda4552.HifumiBot.config.ConfigManager;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;

View File

@@ -1,9 +1,10 @@
package io.github.redpanda4552.HifumiBot.modal;
package net.pcsx2.hifumi.modal;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.EmbedUtil;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.EmbedUtil;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;

View File

@@ -1,8 +1,9 @@
package io.github.redpanda4552.HifumiBot.modal;
package net.pcsx2.hifumi.modal;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.permissions.PermissionLevel;
import net.pcsx2.hifumi.util.Messaging;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.permissions.PermissionLevel;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.dv8tion.jda.api.events.interaction.ModalInteractionEvent;
public class SayHandler {

View File

@@ -1,14 +1,15 @@
package io.github.redpanda4552.HifumiBot.moderation;
package net.pcsx2.hifumi.moderation;
import java.awt.Color;
import java.time.Duration;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.database.Database;
import io.github.redpanda4552.HifumiBot.database.objects.MessageObject;
import io.github.redpanda4552.HifumiBot.util.Log;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.database.Database;
import net.pcsx2.hifumi.database.objects.MessageObject;
import net.pcsx2.hifumi.util.Log;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Member;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
import okhttp3.MediaType;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
import java.io.BufferedReader;
import java.io.InputStreamReader;
@@ -8,8 +8,9 @@ import java.util.ArrayList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.Message.Attachment;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
import java.io.BufferedReader;
import java.io.InputStreamReader;
@@ -32,9 +32,10 @@ import java.util.HashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.config.EmulogParserConfig.Rule;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.config.EmulogParserConfig.Rule;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.Message.Attachment;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
import java.io.BufferedReader;
import java.io.IOException;
@@ -34,8 +34,9 @@ import java.util.HashMap;
import java.util.List;
import java.util.regex.Pattern;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.Message.Attachment;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
public enum PnachParserError {

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.parse;
package net.pcsx2.hifumi.parse;
import java.io.IOException;
import java.net.URI;
@@ -15,11 +15,12 @@ import org.apache.commons.lang3.tuple.Pair;
import org.apache.commons.text.WordUtils;
import org.ini4j.Ini;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.config.SettingsIniParserConfig.Rule;
import io.github.redpanda4552.HifumiBot.config.SettingsIniParserConfig.Section;
import io.github.redpanda4552.HifumiBot.config.SettingsIniParserConfig.Setting;
import io.github.redpanda4552.HifumiBot.util.Messaging;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.config.SettingsIniParserConfig.Rule;
import net.pcsx2.hifumi.config.SettingsIniParserConfig.Section;
import net.pcsx2.hifumi.config.SettingsIniParserConfig.Setting;
import net.pcsx2.hifumi.util.Messaging;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.Message.Attachment;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.permissions;
package net.pcsx2.hifumi.permissions;
public enum PermissionLevel {
SUPERUSER, SUPER_ADMIN, ADMIN, MOD, GUEST, BLOCKED

View File

@@ -21,11 +21,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.permissions;
package net.pcsx2.hifumi.permissions;
import java.util.ArrayList;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import net.pcsx2.hifumi.HifumiBot;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Role;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.util;
package net.pcsx2.hifumi.util;
import net.dv8tion.jda.api.events.interaction.command.SlashCommandInteractionEvent;
import net.dv8tion.jda.api.interactions.commands.OptionMapping;

View File

@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.util;
package net.pcsx2.hifumi.util;
public enum DNSQueryResult {
SUCCESS, FAIL, BLOCKED

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.util;
package net.pcsx2.hifumi.util;
import java.time.Instant;
import java.time.OffsetDateTime;

View File

@@ -21,12 +21,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package io.github.redpanda4552.HifumiBot.util;
package net.pcsx2.hifumi.util;
import org.apache.commons.lang3.StringUtils;
import io.github.redpanda4552.HifumiBot.HifumiBot;
import io.github.redpanda4552.HifumiBot.command.dynamic.DynamicChoice;
import net.pcsx2.hifumi.HifumiBot;
import net.pcsx2.hifumi.command.dynamic.DynamicChoice;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;

View File

@@ -1,4 +1,4 @@
package io.github.redpanda4552.HifumiBot.util;
package net.pcsx2.hifumi.util;
import org.slf4j.Logger;
import org.slf4j.simple.SimpleLoggerFactory;

Some files were not shown because too many files have changed in this diff Show More