Skip to content

Commit e0f1549

Browse files
committed
updated: changed package namespace to net.azzerial in the api and playground modules
1 parent 880b1ec commit e0f1549

23 files changed

+45
-45
lines changed

api/src/main/java/com/github/azzerial/slash/SlashClient.java renamed to api/src/main/java/net/azzerial/slash/SlashClient.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash;
17+
package net.azzerial.slash;
1818

19-
import com.github.azzerial.slash.internal.CommandRegistry;
20-
import com.github.azzerial.slash.internal.InteractionListener;
19+
import net.azzerial.slash.internal.CommandRegistry;
20+
import net.azzerial.slash.internal.InteractionListener;
2121
import net.dv8tion.jda.api.JDA;
2222
import net.dv8tion.jda.api.hooks.EventListener;
2323

api/src/main/java/com/github/azzerial/slash/SlashClientBuilder.java renamed to api/src/main/java/net/azzerial/slash/SlashClientBuilder.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash;
17+
package net.azzerial.slash;
1818

19-
import com.github.azzerial.slash.SlashClient.Flag;
20-
import com.github.azzerial.slash.internal.CommandRegistry;
19+
import net.azzerial.slash.SlashClient.Flag;
20+
import net.azzerial.slash.internal.CommandRegistry;
2121
import net.dv8tion.jda.api.JDA;
2222
import net.dv8tion.jda.api.interactions.commands.Command;
2323
import net.dv8tion.jda.internal.utils.Checks;

api/src/main/java/com/github/azzerial/slash/SlashCommand.java renamed to api/src/main/java/net/azzerial/slash/SlashCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash;
17+
package net.azzerial.slash;
1818

1919
import net.dv8tion.jda.api.JDA;
2020
import net.dv8tion.jda.api.entities.Guild;

api/src/main/java/com/github/azzerial/slash/annotations/Choice.java renamed to api/src/main/java/net/azzerial/slash/annotations/Choice.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
import java.lang.annotation.*;
2020

api/src/main/java/com/github/azzerial/slash/annotations/Option.java renamed to api/src/main/java/net/azzerial/slash/annotations/Option.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
import java.lang.annotation.*;
2020

api/src/main/java/com/github/azzerial/slash/annotations/OptionType.java renamed to api/src/main/java/net/azzerial/slash/annotations/OptionType.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
/**
2020
* This enum represents the type of a Slash Command option.

api/src/main/java/com/github/azzerial/slash/annotations/Slash.java renamed to api/src/main/java/net/azzerial/slash/annotations/Slash.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
import java.lang.annotation.*;
2020

api/src/main/java/com/github/azzerial/slash/annotations/Subcommand.java renamed to api/src/main/java/net/azzerial/slash/annotations/Subcommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
import java.lang.annotation.*;
2020

api/src/main/java/com/github/azzerial/slash/annotations/SubcommandGroup.java renamed to api/src/main/java/net/azzerial/slash/annotations/SubcommandGroup.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.annotations;
17+
package net.azzerial.slash.annotations;
1818

1919
import java.lang.annotation.*;
2020

api/src/main/java/com/github/azzerial/slash/components/SlashButton.java renamed to api/src/main/java/net/azzerial/slash/components/SlashButton.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.components;
17+
package net.azzerial.slash.components;
1818

19-
import com.github.azzerial.slash.internal.ComponentRegistry;
19+
import net.azzerial.slash.internal.ComponentRegistry;
2020
import net.dv8tion.jda.api.entities.Emoji;
2121
import net.dv8tion.jda.api.interactions.components.ButtonStyle;
2222
import net.dv8tion.jda.api.interactions.components.Component;

api/src/main/java/com/github/azzerial/slash/components/SlashSelectionMenu.java renamed to api/src/main/java/net/azzerial/slash/components/SlashSelectionMenu.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.components;
17+
package net.azzerial.slash.components;
1818

19-
import com.github.azzerial.slash.internal.ComponentRegistry;
19+
import net.azzerial.slash.internal.ComponentRegistry;
2020
import net.dv8tion.jda.api.entities.Emoji;
2121
import net.dv8tion.jda.api.interactions.components.Component;
2222
import net.dv8tion.jda.api.interactions.components.selections.SelectOption;

api/src/main/java/com/github/azzerial/slash/internal/AnnotationCompiler.java renamed to api/src/main/java/net/azzerial/slash/internal/AnnotationCompiler.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal;
17+
package net.azzerial.slash.internal;
1818

19-
import com.github.azzerial.slash.annotations.Option;
20-
import com.github.azzerial.slash.annotations.Slash;
21-
import com.github.azzerial.slash.annotations.Subcommand;
22-
import com.github.azzerial.slash.annotations.SubcommandGroup;
19+
import net.azzerial.slash.annotations.Option;
20+
import net.azzerial.slash.annotations.Slash;
21+
import net.azzerial.slash.annotations.Subcommand;
22+
import net.azzerial.slash.annotations.SubcommandGroup;
2323
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
2424
import net.dv8tion.jda.api.interactions.commands.Command;
2525
import net.dv8tion.jda.api.interactions.commands.OptionType;

api/src/main/java/com/github/azzerial/slash/internal/CommandRegistry.java renamed to api/src/main/java/net/azzerial/slash/internal/CommandRegistry.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal;
17+
package net.azzerial.slash.internal;
1818

19-
import com.github.azzerial.slash.SlashCommand;
20-
import com.github.azzerial.slash.annotations.Slash;
19+
import net.azzerial.slash.SlashCommand;
20+
import net.azzerial.slash.annotations.Slash;
2121
import net.dv8tion.jda.api.JDA;
2222
import net.dv8tion.jda.api.interactions.commands.build.CommandData;
2323

api/src/main/java/com/github/azzerial/slash/internal/ComponentCallback.java renamed to api/src/main/java/net/azzerial/slash/internal/ComponentCallback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal;
17+
package net.azzerial.slash.internal;
1818

1919
import java.lang.reflect.Method;
2020

api/src/main/java/com/github/azzerial/slash/internal/ComponentRegistry.java renamed to api/src/main/java/net/azzerial/slash/internal/ComponentRegistry.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal;
17+
package net.azzerial.slash.internal;
1818

19-
import com.github.azzerial.slash.annotations.Slash;
20-
import com.github.azzerial.slash.internal.util.UnsignedBase512;
19+
import net.azzerial.slash.annotations.Slash;
20+
import net.azzerial.slash.internal.util.UnsignedBase512;
2121
import net.dv8tion.jda.api.events.interaction.ButtonClickEvent;
2222
import net.dv8tion.jda.api.events.interaction.SelectionMenuEvent;
2323
import net.dv8tion.jda.internal.utils.Checks;

api/src/main/java/com/github/azzerial/slash/internal/InteractionListener.java renamed to api/src/main/java/net/azzerial/slash/internal/InteractionListener.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal;
17+
package net.azzerial.slash.internal;
1818

19-
import com.github.azzerial.slash.SlashCommand;
19+
import net.azzerial.slash.SlashCommand;
2020
import net.dv8tion.jda.api.events.interaction.GenericComponentInteractionCreateEvent;
2121
import net.dv8tion.jda.api.events.interaction.SlashCommandEvent;
2222
import net.dv8tion.jda.api.hooks.ListenerAdapter;

api/src/main/java/com/github/azzerial/slash/internal/util/UnsignedBase512.java renamed to api/src/main/java/net/azzerial/slash/internal/util/UnsignedBase512.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.internal.util;
17+
package net.azzerial.slash.internal.util;
1818

1919
import java.math.BigInteger;
2020

api/src/main/java/com/github/azzerial/slash/package-info.java renamed to api/src/main/java/net/azzerial/slash/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* API module of the Slash Commands library.
1919
*/
20-
package com.github.azzerial.slash;
20+
package net.azzerial.slash;

api/src/main/java/com/github/azzerial/slash/util/Buffer.java renamed to api/src/main/java/net/azzerial/slash/util/Buffer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.util;
17+
package net.azzerial.slash.util;
1818

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

21-
import static com.github.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
21+
import static net.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
2222

2323
public final class Buffer {
2424

api/src/main/java/com/github/azzerial/slash/util/Session.java renamed to api/src/main/java/net/azzerial/slash/util/Session.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.util;
17+
package net.azzerial.slash.util;
1818

1919
import net.dv8tion.jda.api.interactions.InteractionHook;
2020
import net.dv8tion.jda.api.utils.data.DataObject;
@@ -32,7 +32,7 @@
3232
import java.util.function.BiConsumer;
3333
import java.util.function.Consumer;
3434

35-
import static com.github.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
35+
import static net.azzerial.slash.internal.ComponentRegistry.CODE_LENGTH;
3636

3737
public final class Session extends DataObject {
3838

playground/src/main/java/com/github/azzerial/slash/playground/Main.java renamed to playground/src/main/java/net/azzerial/slash/playground/Main.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.playground;
17+
package net.azzerial.slash.playground;
1818

19-
import com.github.azzerial.slash.SlashClient;
20-
import com.github.azzerial.slash.SlashClientBuilder;
21-
import com.github.azzerial.slash.playground.commands.PingCommand;
19+
import net.azzerial.slash.SlashClient;
20+
import net.azzerial.slash.SlashClientBuilder;
21+
import net.azzerial.slash.playground.commands.PingCommand;
2222
import net.dv8tion.jda.api.JDA;
2323
import net.dv8tion.jda.api.JDABuilder;
2424
import net.dv8tion.jda.api.requests.GatewayIntent;

playground/src/main/java/com/github/azzerial/slash/playground/commands/PingCommand.java renamed to playground/src/main/java/net/azzerial/slash/playground/commands/PingCommand.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.github.azzerial.slash.playground.commands;
17+
package net.azzerial.slash.playground.commands;
1818

19-
import com.github.azzerial.slash.annotations.Slash;
20-
import com.github.azzerial.slash.components.SlashButton;
19+
import net.azzerial.slash.annotations.Slash;
20+
import net.azzerial.slash.components.SlashButton;
2121
import net.dv8tion.jda.api.EmbedBuilder;
2222
import net.dv8tion.jda.api.entities.MessageEmbed;
2323
import net.dv8tion.jda.api.events.interaction.ButtonClickEvent;

playground/src/main/java/com/github/azzerial/slash/playground/package-info.java renamed to playground/src/main/java/net/azzerial/slash/playground/package-info.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
/**
1818
* Implementation module of the Slash Commands library.
1919
*/
20-
package com.github.azzerial.slash.playground;
20+
package net.azzerial.slash.playground;

0 commit comments

Comments
 (0)