Skip to content

Commit

Permalink
updated: changed package namespace to net.azzerial in the api and pla…
Browse files Browse the repository at this point in the history
…yground modules
  • Loading branch information
azzerial committed Sep 16, 2021
1 parent 880b1ec commit e0f1549
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.github.azzerial.slash;
package net.azzerial.slash;

import com.github.azzerial.slash.internal.CommandRegistry;
import com.github.azzerial.slash.internal.InteractionListener;
import net.azzerial.slash.internal.CommandRegistry;
import net.azzerial.slash.internal.InteractionListener;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.hooks.EventListener;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.github.azzerial.slash;
package net.azzerial.slash;

import com.github.azzerial.slash.SlashClient.Flag;
import com.github.azzerial.slash.internal.CommandRegistry;
import net.azzerial.slash.SlashClient.Flag;
import net.azzerial.slash.internal.CommandRegistry;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.interactions.commands.Command;
import net.dv8tion.jda.internal.utils.Checks;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash;
package net.azzerial.slash;

import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.entities.Guild;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

/**
* This enum represents the type of a Slash Command option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.annotations;
package net.azzerial.slash.annotations;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.github.azzerial.slash.components;
package net.azzerial.slash.components;

import com.github.azzerial.slash.internal.ComponentRegistry;
import net.azzerial.slash.internal.ComponentRegistry;
import net.dv8tion.jda.api.entities.Emoji;
import net.dv8tion.jda.api.interactions.components.ButtonStyle;
import net.dv8tion.jda.api.interactions.components.Component;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.github.azzerial.slash.components;
package net.azzerial.slash.components;

import com.github.azzerial.slash.internal.ComponentRegistry;
import net.azzerial.slash.internal.ComponentRegistry;
import net.dv8tion.jda.api.entities.Emoji;
import net.dv8tion.jda.api.interactions.components.Component;
import net.dv8tion.jda.api.interactions.components.selections.SelectOption;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal;
package net.azzerial.slash.internal;

import com.github.azzerial.slash.annotations.Option;
import com.github.azzerial.slash.annotations.Slash;
import com.github.azzerial.slash.annotations.Subcommand;
import com.github.azzerial.slash.annotations.SubcommandGroup;
import net.azzerial.slash.annotations.Option;
import net.azzerial.slash.annotations.Slash;
import net.azzerial.slash.annotations.Subcommand;
import net.azzerial.slash.annotations.SubcommandGroup;
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
import net.dv8tion.jda.api.interactions.commands.Command;
import net.dv8tion.jda.api.interactions.commands.OptionType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal;
package net.azzerial.slash.internal;

import com.github.azzerial.slash.SlashCommand;
import com.github.azzerial.slash.annotations.Slash;
import net.azzerial.slash.SlashCommand;
import net.azzerial.slash.annotations.Slash;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.interactions.commands.build.CommandData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal;
package net.azzerial.slash.internal;

import java.lang.reflect.Method;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal;
package net.azzerial.slash.internal;

import com.github.azzerial.slash.annotations.Slash;
import com.github.azzerial.slash.internal.util.UnsignedBase512;
import net.azzerial.slash.annotations.Slash;
import net.azzerial.slash.internal.util.UnsignedBase512;
import net.dv8tion.jda.api.events.interaction.ButtonClickEvent;
import net.dv8tion.jda.api.events.interaction.SelectionMenuEvent;
import net.dv8tion.jda.internal.utils.Checks;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal;
package net.azzerial.slash.internal;

import com.github.azzerial.slash.SlashCommand;
import net.azzerial.slash.SlashCommand;
import net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent;
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
import net.dv8tion.jda.api.hooks.ListenerAdapter;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.internal.util;
package net.azzerial.slash.internal.util;

import java.math.BigInteger;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
/**
* API module of the Slash Commands library.
*/
package com.github.azzerial.slash;
package net.azzerial.slash;
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package com.github.azzerial.slash.util;
package net.azzerial.slash.util;

import net.dv8tion.jda.internal.utils.Checks;

import static com.github.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
import static net.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;

public final class Buffer {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.github.azzerial.slash.util;
package net.azzerial.slash.util;

import net.dv8tion.jda.api.interactions.InteractionHook;
import net.dv8tion.jda.api.utils.data.DataObject;
Expand All @@ -32,7 +32,7 @@
import java.util.function.BiConsumer;
import java.util.function.Consumer;

import static com.github.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
import static net.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;

public final class Session extends DataObject {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
* limitations under the License.
*/

package com.github.azzerial.slash.playground;
package net.azzerial.slash.playground;

import com.github.azzerial.slash.SlashClient;
import com.github.azzerial.slash.SlashClientBuilder;
import com.github.azzerial.slash.playground.commands.PingCommand;
import net.azzerial.slash.SlashClient;
import net.azzerial.slash.SlashClientBuilder;
import net.azzerial.slash.playground.commands.PingCommand;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.requests.GatewayIntent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
* limitations under the License.
*/

package com.github.azzerial.slash.playground.commands;
package net.azzerial.slash.playground.commands;

import com.github.azzerial.slash.annotations.Slash;
import com.github.azzerial.slash.components.SlashButton;
import net.azzerial.slash.annotations.Slash;
import net.azzerial.slash.components.SlashButton;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.events.interaction.ButtonClickEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@
/**
* Implementation module of the Slash Commands library.
*/
package com.github.azzerial.slash.playground;
package net.azzerial.slash.playground;

0 comments on commit e0f1549

Please sign in to comment.