Skip to content

Commit

Permalink
fix: repackage
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Dec 21, 2023
1 parent e9b6197 commit 4624aa0
Show file tree
Hide file tree
Showing 141 changed files with 413 additions and 411 deletions.
12 changes: 0 additions & 12 deletions src/main/java/dev/qixils/quasicolon/cogs/impl/GuildCogConfig.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

import org.checkerframework.checker.nullness.qual.NonNull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

import dev.qixils.quasicolon.cogs.Command;
import dev.qixils.quasicolon.decorators.AnnotationParser;
import dev.qixils.quasicolon.error.UserError;
import dev.qixils.quasicolon.text.Text;
import dev.qixils.quasicord.cogs.Command;
import dev.qixils.quasicord.decorators.AnnotationParser;
import dev.qixils.quasicord.error.UserError;
import dev.qixils.quasicord.text.Text;
import lombok.Getter;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.Guild;
Expand All @@ -25,9 +25,9 @@
import java.util.HashMap;
import java.util.Map;

import static dev.qixils.quasicolon.Key.library;
import static dev.qixils.quasicolon.locale.Context.fromInteraction;
import static dev.qixils.quasicolon.text.Text.single;
import static dev.qixils.quasicord.Key.library;
import static dev.qixils.quasicord.locale.Context.fromInteraction;
import static dev.qixils.quasicord.text.Text.single;

public class CommandManager {
@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

public enum Environment {
PRODUCTION,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

import dev.qixils.quasicolon.locale.TranslationProvider;
import dev.qixils.quasicolon.locale.translation.PluralTranslation;
import dev.qixils.quasicolon.locale.translation.SingleTranslation;
import dev.qixils.quasicord.locale.TranslationProvider;
import dev.qixils.quasicord.locale.translation.PluralTranslation;
import dev.qixils.quasicord.locale.translation.SingleTranslation;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.checkerframework.checker.nullness.qual.NonNull;
Expand All @@ -23,7 +23,7 @@
* {@link #namespace() namespace} in which the translation is defined.
* </p>
* The namespace always corresponds to a registered
* {@link dev.qixils.quasicolon.locale.TranslationProvider TranslationProvider}.
* {@link dev.qixils.quasicord.locale.TranslationProvider TranslationProvider}.
* For convenience, this <!-- TODO: I've just discovered this incomplete sentence and I've no idea what it's meant to say. -->
*/
@EqualsAndHashCode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;

import dev.qixils.quasicolon.commands.GuildConfigCommand;
import dev.qixils.quasicolon.commands.UserConfigCommand;
import dev.qixils.quasicolon.db.DatabaseManager;
import dev.qixils.quasicolon.events.EventDispatcher;
import dev.qixils.quasicolon.locale.LocaleProvider;
import dev.qixils.quasicolon.locale.TranslationProvider;
import dev.qixils.quasicolon.registry.core.RegistryRegistry;
package dev.qixils.quasicord;

import dev.qixils.quasicord.commands.GuildConfigCommand;
import dev.qixils.quasicord.commands.UserConfigCommand;
import dev.qixils.quasicord.db.DatabaseManager;
import dev.qixils.quasicord.events.EventDispatcher;
import dev.qixils.quasicord.locale.LocaleProvider;
import dev.qixils.quasicord.locale.TranslationProvider;
import dev.qixils.quasicord.registry.core.RegistryRegistry;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.entities.Activity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
package dev.qixils.quasicolon;
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicord;

import org.spongepowered.configurate.objectmapping.ConfigSerializable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

import com.google.errorprone.annotations.CheckReturnValue;
import de.huxhorn.sulky.ulid.ULID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon;
package dev.qixils.quasicord;

import net.dv8tion.jda.api.events.GenericEvent;
import net.dv8tion.jda.api.hooks.SubscribeEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.autocomplete;
package dev.qixils.quasicord.autocomplete;

import net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback;
import net.dv8tion.jda.api.interactions.commands.Command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.autocomplete;
package dev.qixils.quasicord.autocomplete;

import net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback;
import net.dv8tion.jda.api.interactions.commands.Command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.autocomplete.impl;
package dev.qixils.quasicord.autocomplete.impl;

import dev.qixils.quasicolon.CommandManager;
import dev.qixils.quasicolon.autocomplete.AutoCompleter;
import dev.qixils.quasicolon.locale.Context;
import dev.qixils.quasicord.CommandManager;
import dev.qixils.quasicord.autocomplete.AutoCompleter;
import dev.qixils.quasicord.locale.Context;
import net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback;
import net.dv8tion.jda.api.interactions.commands.Command;
import net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.autocomplete.impl;
package dev.qixils.quasicord.autocomplete.impl;

import dev.qixils.quasicolon.CommandManager;
import dev.qixils.quasicolon.autocomplete.AutoCompleter;
import dev.qixils.quasicolon.locale.Context;
import dev.qixils.quasicord.CommandManager;
import dev.qixils.quasicord.autocomplete.AutoCompleter;
import dev.qixils.quasicord.locale.Context;
import net.dv8tion.jda.api.interactions.callbacks.IAutoCompleteCallback;
import net.dv8tion.jda.api.interactions.commands.Command;
import net.dv8tion.jda.api.interactions.commands.CommandAutoCompleteInteraction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.cogs;
package dev.qixils.quasicord.cogs;

import net.dv8tion.jda.api.interactions.commands.CommandInteraction;
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.cogs;
package dev.qixils.quasicord.cogs;

import net.dv8tion.jda.api.interactions.commands.build.SlashCommandData;
import net.dv8tion.jda.api.interactions.commands.build.SubcommandData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.cogs.impl;
package dev.qixils.quasicord.cogs.impl;

import dev.qixils.quasicolon.cogs.Command;
import dev.qixils.quasicord.cogs.Command;
import net.dv8tion.jda.api.interactions.commands.CommandInteraction;
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
import org.checkerframework.checker.nullness.qual.NonNull;
Expand Down
18 changes: 18 additions & 0 deletions src/main/java/dev/qixils/quasicord/cogs/impl/GuildCogConfig.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicord.cogs.impl;

import lombok.Getter;
import lombok.NoArgsConstructor;
import org.spongepowered.configurate.objectmapping.ConfigSerializable;

@ConfigSerializable
@Getter
@NoArgsConstructor
public class GuildCogConfig {
protected final boolean enabled = false;
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.cogs.impl;
package dev.qixils.quasicord.cogs.impl;

import dev.qixils.quasicolon.cogs.SlashCommandDataBranch;
import dev.qixils.quasicord.cogs.SlashCommandDataBranch;
import net.dv8tion.jda.api.interactions.commands.build.SlashCommandData;
import net.dv8tion.jda.api.interactions.commands.build.SubcommandData;
import net.dv8tion.jda.api.interactions.commands.build.SubcommandGroupData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.commands;
package dev.qixils.quasicord.commands;

import com.mongodb.client.model.ReplaceOptions;
import dev.qixils.quasicolon.Quasicord;
import dev.qixils.quasicolon.db.collection.LocaleConfig;
import dev.qixils.quasicord.Quasicord;
import dev.qixils.quasicord.db.collection.LocaleConfig;
import net.dv8tion.jda.api.entities.ISnowflake;
import org.checkerframework.checker.nullness.qual.NonNull;
import org.reactivestreams.Publisher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,20 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.commands;
package dev.qixils.quasicord.commands;

import dev.qixils.quasicolon.Key;
import dev.qixils.quasicolon.Quasicord;
import dev.qixils.quasicolon.autocomplete.impl.LocaleAutoCompleter;
import dev.qixils.quasicolon.db.collection.LocaleConfig;
import dev.qixils.quasicolon.decorators.Namespace;
import dev.qixils.quasicolon.decorators.option.AutoCompleteWith;
import dev.qixils.quasicolon.decorators.option.Contextual;
import dev.qixils.quasicolon.decorators.option.Option;
import dev.qixils.quasicolon.decorators.slash.DefaultPermissions;
import dev.qixils.quasicolon.decorators.slash.SlashCommand;
import dev.qixils.quasicolon.decorators.slash.SlashSubCommand;
import dev.qixils.quasicolon.text.Text;
import dev.qixils.quasicord.Key;
import dev.qixils.quasicord.Quasicord;
import dev.qixils.quasicord.autocomplete.impl.LocaleAutoCompleter;
import dev.qixils.quasicord.db.collection.LocaleConfig;
import dev.qixils.quasicord.decorators.Namespace;
import dev.qixils.quasicord.decorators.option.AutoCompleteWith;
import dev.qixils.quasicord.decorators.option.Contextual;
import dev.qixils.quasicord.decorators.option.Option;
import dev.qixils.quasicord.decorators.slash.DefaultPermissions;
import dev.qixils.quasicord.decorators.slash.SlashCommand;
import dev.qixils.quasicord.decorators.slash.SlashSubCommand;
import dev.qixils.quasicord.text.Text;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.interactions.commands.OptionType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.commands;
package dev.qixils.quasicord.commands;

import com.mongodb.client.model.ReplaceOptions;
import dev.qixils.quasicolon.Key;
import dev.qixils.quasicolon.Quasicord;
import dev.qixils.quasicolon.autocomplete.impl.LocaleAutoCompleter;
import dev.qixils.quasicolon.autocomplete.impl.TimeZoneAutoCompleter;
import dev.qixils.quasicolon.db.collection.LocaleConfig;
import dev.qixils.quasicolon.db.collection.TimeZoneConfig;
import dev.qixils.quasicolon.decorators.Namespace;
import dev.qixils.quasicolon.decorators.option.AutoCompleteWith;
import dev.qixils.quasicolon.decorators.option.Contextual;
import dev.qixils.quasicolon.decorators.option.Option;
import dev.qixils.quasicolon.decorators.slash.SlashCommand;
import dev.qixils.quasicolon.decorators.slash.SlashSubCommand;
import dev.qixils.quasicolon.text.Text;
import dev.qixils.quasicord.Key;
import dev.qixils.quasicord.Quasicord;
import dev.qixils.quasicord.autocomplete.impl.LocaleAutoCompleter;
import dev.qixils.quasicord.autocomplete.impl.TimeZoneAutoCompleter;
import dev.qixils.quasicord.db.collection.LocaleConfig;
import dev.qixils.quasicord.db.collection.TimeZoneConfig;
import dev.qixils.quasicord.decorators.Namespace;
import dev.qixils.quasicord.decorators.option.AutoCompleteWith;
import dev.qixils.quasicord.decorators.option.Contextual;
import dev.qixils.quasicord.decorators.option.Option;
import dev.qixils.quasicord.decorators.slash.SlashCommand;
import dev.qixils.quasicord.decorators.slash.SlashSubCommand;
import dev.qixils.quasicord.text.Text;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.interactions.commands.OptionType;
import org.reactivestreams.Publisher;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.converter;
package dev.qixils.quasicord.converter;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.converter;
package dev.qixils.quasicord.converter;

import net.dv8tion.jda.api.interactions.Interaction;
import org.checkerframework.checker.nullness.qual.NonNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.converter;
package dev.qixils.quasicord.converter;

import net.dv8tion.jda.api.entities.channel.Channel;
import net.dv8tion.jda.api.interactions.Interaction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/

package dev.qixils.quasicolon.converter;

import dev.qixils.quasicolon.Quasicord;
import dev.qixils.quasicolon.converter.impl.LocaleConverter;
import dev.qixils.quasicolon.converter.impl.ZoneIdConverter;
import dev.qixils.quasicolon.converter.impl.ZonedDateTimeConverter;
import dev.qixils.quasicolon.locale.Context;
import dev.qixils.quasicolon.registry.impl.RegistryImpl;
package dev.qixils.quasicord.converter;

import dev.qixils.quasicord.Quasicord;
import dev.qixils.quasicord.converter.impl.LocaleConverter;
import dev.qixils.quasicord.converter.impl.ZoneIdConverter;
import dev.qixils.quasicord.converter.impl.ZonedDateTimeConverter;
import dev.qixils.quasicord.locale.Context;
import dev.qixils.quasicord.registry.impl.RegistryImpl;
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.User;
Expand All @@ -29,7 +29,7 @@
import java.util.Locale;
import java.util.Objects;

import static dev.qixils.quasicolon.converter.ConverterImpl.identity;
import static dev.qixils.quasicord.converter.ConverterImpl.identity;

public final class ConverterRegistry extends RegistryImpl<Converter<?, ?>> {

Expand Down
Loading

0 comments on commit 4624aa0

Please sign in to comment.