From d457e57614b9311b56f08e52254ed2c85f7e667d Mon Sep 17 00:00:00 2001 From: tueem Date: Thu, 7 Nov 2024 11:51:02 +0100 Subject: [PATCH] Add Button Execution Test --- .../tomatentum/marinara/test/ButtonTest.java | 27 + .../tomatentum/marinara/test/TestButton.java | 29 + .../test/mocks/ButtonInteractionMock.java | 137 + .../marinara/test/mocks/ChannelMock.java | 824 ++++++ .../marinara/test/mocks/DiscordApiMock.java | 605 +++++ .../marinara/test/mocks/MessageMock.java | 443 ++++ .../marinara/test/mocks/ServerMock.java | 2263 +++++++++++++++++ .../marinara/test/mocks/UserMock.java | 752 ++++++ 8 files changed, 5080 insertions(+) create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/ButtonTest.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/TestButton.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ButtonInteractionMock.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ChannelMock.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/DiscordApiMock.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/MessageMock.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ServerMock.java create mode 100644 wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/UserMock.java diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/ButtonTest.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/ButtonTest.java new file mode 100644 index 0000000..4a8b1cb --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/ButtonTest.java @@ -0,0 +1,27 @@ +package net.tomatentum.marinara.test; + +import static org.junit.jupiter.api.Assertions.assertTrue; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.TestInstance; +import org.junit.jupiter.api.TestInstance.Lifecycle; + +import net.tomatentum.marinara.Marinara; +import net.tomatentum.marinara.test.mocks.ButtonInteractionMock; +import net.tomatentum.marinara.test.mocks.DiscordApiMock; +import net.tomatentum.marinara.wrapper.LibraryWrapper; +import net.tomatentum.marinare.wrapper.javacord.JavacordWrapper; + +@TestInstance(Lifecycle.PER_CLASS) +public class ButtonTest { + + @Test + public void testButtonExecution() { + LibraryWrapper wrapper = new JavacordWrapper(new DiscordApiMock()); //null okay as we don't use the discord API in this test. + Marinara marinara = Marinara.load(wrapper); + marinara.getRegistry().addInteractions(new TestButton()); + wrapper.handleInteraction(new ButtonInteractionMock()); + assertTrue(TestButton.didRun); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/TestButton.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/TestButton.java new file mode 100644 index 0000000..c72b8f9 --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/TestButton.java @@ -0,0 +1,29 @@ +package net.tomatentum.marinara.test; + +import static org.junit.jupiter.api.Assertions.assertNotNull; + +import org.javacord.api.entity.channel.TextChannel; +import org.javacord.api.entity.message.Message; +import org.javacord.api.entity.server.Server; +import org.javacord.api.entity.user.User; +import org.javacord.api.interaction.ButtonInteraction; + +import net.tomatentum.marinara.interaction.InteractionHandler; +import net.tomatentum.marinara.interaction.annotation.Button; + +public class TestButton implements InteractionHandler { + + + public static boolean didRun = false; + @Button("test") + public void exec(ButtonInteraction interaction, TextChannel channel, Message message, User member, Server server) { + assertNotNull(interaction); + assertNotNull(channel); + assertNotNull(message); + assertNotNull(member); + assertNotNull(server); + didRun = true; + System.out.println("Success!"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ButtonInteractionMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ButtonInteractionMock.java new file mode 100644 index 0000000..c9ee36b --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ButtonInteractionMock.java @@ -0,0 +1,137 @@ +package net.tomatentum.marinara.test.mocks; + +import java.util.EnumSet; +import java.util.List; +import java.util.Optional; +import java.util.concurrent.CompletableFuture; + +import org.javacord.api.DiscordApi; +import org.javacord.api.entity.channel.TextChannel; +import org.javacord.api.entity.message.Message; +import org.javacord.api.entity.message.component.ComponentType; +import org.javacord.api.entity.message.component.HighLevelComponent; +import org.javacord.api.entity.permission.PermissionType; +import org.javacord.api.entity.server.Server; +import org.javacord.api.entity.user.User; +import org.javacord.api.interaction.ButtonInteraction; +import org.javacord.api.interaction.DiscordLocale; +import org.javacord.api.interaction.InteractionType; +import org.javacord.api.interaction.callback.ComponentInteractionOriginalMessageUpdater; +import org.javacord.api.interaction.callback.InteractionFollowupMessageBuilder; +import org.javacord.api.interaction.callback.InteractionImmediateResponseBuilder; +import org.javacord.api.interaction.callback.InteractionOriginalResponseUpdater; + +public class ButtonInteractionMock implements ButtonInteraction { + + @Override + public Message getMessage() { + return new MessageMock(); + } + + @Override + public String getCustomId() { + return "test"; + } + + @Override + public ComponentType getComponentType() { + return ComponentType.BUTTON; + } + + @Override + public CompletableFuture acknowledge() { + throw new UnsupportedOperationException("Unimplemented method 'acknowledge'"); + } + + @Override + public ComponentInteractionOriginalMessageUpdater createOriginalMessageUpdater() { + throw new UnsupportedOperationException("Unimplemented method 'createOriginalMessageUpdater'"); + } + + @Override + public long getApplicationId() { + throw new UnsupportedOperationException("Unimplemented method 'getApplicationId'"); + } + + @Override + public InteractionType getType() { + return InteractionType.MESSAGE_COMPONENT; + } + + @Override + public InteractionImmediateResponseBuilder createImmediateResponder() { + throw new UnsupportedOperationException("Unimplemented method 'createImmediateResponder'"); + } + + @Override + public CompletableFuture respondLater() { + throw new UnsupportedOperationException("Unimplemented method 'respondLater'"); + } + + @Override + public CompletableFuture respondLater(boolean ephemeral) { + throw new UnsupportedOperationException("Unimplemented method 'respondLater'"); + } + + @Override + public CompletableFuture respondWithModal(String customId, String title, + List components) { + throw new UnsupportedOperationException("Unimplemented method 'respondWithModal'"); + } + + @Override + public InteractionFollowupMessageBuilder createFollowupMessageBuilder() { + throw new UnsupportedOperationException("Unimplemented method 'createFollowupMessageBuilder'"); + } + + @Override + public Optional getServer() { + return Optional.of(new ServerMock()); + } + + @Override + public Optional getChannel() { + return Optional.of(new ChannelMock()); + } + + @Override + public User getUser() { + return new UserMock(); + } + + @Override + public String getToken() { + throw new UnsupportedOperationException("Unimplemented method 'getToken'"); + } + + @Override + public int getVersion() { + throw new UnsupportedOperationException("Unimplemented method 'getVersion'"); + } + + @Override + public DiscordLocale getLocale() { + throw new UnsupportedOperationException("Unimplemented method 'getLocale'"); + } + + @Override + public Optional getServerLocale() { + throw new UnsupportedOperationException("Unimplemented method 'getServerLocale'"); + } + + @Override + public Optional> getBotPermissions() { + throw new UnsupportedOperationException("Unimplemented method 'getBotPermissions'"); + } + + @Override + public DiscordApi getApi() { + throw new UnsupportedOperationException("Unimplemented method 'getApi'"); + } + + @Override + public long getId() { + throw new UnsupportedOperationException("Unimplemented method 'getId'"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ChannelMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ChannelMock.java new file mode 100644 index 0000000..472751e --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ChannelMock.java @@ -0,0 +1,824 @@ +package net.tomatentum.marinara.test.mocks; + +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.concurrent.CompletableFuture; +import java.util.function.Predicate; +import java.util.stream.Stream; + +import org.javacord.api.DiscordApi; +import org.javacord.api.entity.channel.ChannelType; +import org.javacord.api.entity.channel.TextChannel; +import org.javacord.api.entity.message.Message; +import org.javacord.api.entity.message.MessageSet; +import org.javacord.api.entity.user.User; +import org.javacord.api.entity.webhook.IncomingWebhook; +import org.javacord.api.entity.webhook.Webhook; +import org.javacord.api.listener.ObjectAttachableListener; +import org.javacord.api.listener.channel.ChannelAttachableListener; +import org.javacord.api.listener.channel.ServerThreadChannelAttachableListener; +import org.javacord.api.listener.channel.TextChannelAttachableListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelCreateListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelDeleteListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelMembersUpdateListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelUpdateListener; +import org.javacord.api.listener.interaction.AutocompleteCreateListener; +import org.javacord.api.listener.interaction.ButtonClickListener; +import org.javacord.api.listener.interaction.InteractionCreateListener; +import org.javacord.api.listener.interaction.MessageComponentCreateListener; +import org.javacord.api.listener.interaction.MessageContextMenuCommandListener; +import org.javacord.api.listener.interaction.ModalSubmitListener; +import org.javacord.api.listener.interaction.SelectMenuChooseListener; +import org.javacord.api.listener.interaction.SlashCommandCreateListener; +import org.javacord.api.listener.interaction.UserContextMenuCommandListener; +import org.javacord.api.listener.message.CachedMessagePinListener; +import org.javacord.api.listener.message.CachedMessageUnpinListener; +import org.javacord.api.listener.message.ChannelPinsUpdateListener; +import org.javacord.api.listener.message.MessageCreateListener; +import org.javacord.api.listener.message.MessageDeleteListener; +import org.javacord.api.listener.message.MessageEditListener; +import org.javacord.api.listener.message.MessageReplyListener; +import org.javacord.api.listener.message.reaction.ReactionAddListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveAllListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveListener; +import org.javacord.api.listener.server.thread.ServerPrivateThreadJoinListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeArchiveTimestampListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeArchivedListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeAutoArchiveDurationListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeInvitableListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeLastMessageIdListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeLockedListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeMemberCountListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeMessageCountListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeRateLimitPerUserListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeTotalMessageSentListener; +import org.javacord.api.listener.user.UserStartTypingListener; +import org.javacord.api.util.cache.MessageCache; +import org.javacord.api.util.event.ListenerManager; + +public class ChannelMock implements TextChannel { + + @Override + public ChannelType getType() { + + throw new UnsupportedOperationException("Unimplemented method 'getType'"); + } + + @Override + public DiscordApi getApi() { + + throw new UnsupportedOperationException("Unimplemented method 'getApi'"); + } + + @Override + public long getId() { + + throw new UnsupportedOperationException("Unimplemented method 'getId'"); + } + + @Override + public Collection> addChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addChannelAttachableListener'"); + } + + @Override + public void removeChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeChannelAttachableListener'"); + } + + @Override + public Map>> getChannelAttachableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getChannelAttachableListeners'"); + } + + @Override + public void removeListener(Class listenerClass, + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public ListenerManager addInteractionCreateListener(InteractionCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addInteractionCreateListener'"); + } + + @Override + public List getInteractionCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getInteractionCreateListeners'"); + } + + @Override + public ListenerManager addSlashCommandCreateListener( + SlashCommandCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addSlashCommandCreateListener'"); + } + + @Override + public List getSlashCommandCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getSlashCommandCreateListeners'"); + } + + @Override + public ListenerManager addAutocompleteCreateListener( + AutocompleteCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addAutocompleteCreateListener'"); + } + + @Override + public List getAutocompleteCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getAutocompleteCreateListeners'"); + } + + @Override + public ListenerManager addModalSubmitListener(ModalSubmitListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addModalSubmitListener'"); + } + + @Override + public List getModalSubmitListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getModalSubmitListeners'"); + } + + @Override + public ListenerManager addMessageContextMenuCommandListener( + MessageContextMenuCommandListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageContextMenuCommandListener'"); + } + + @Override + public List getMessageContextMenuCommandListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addMessageComponentCreateListener( + MessageComponentCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageComponentCreateListener'"); + } + + @Override + public List getMessageComponentCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageComponentCreateListeners'"); + } + + @Override + public ListenerManager addUserContextMenuCommandListener( + UserContextMenuCommandListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserContextMenuCommandListener'"); + } + + @Override + public List getUserContextMenuCommandListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addSelectMenuChooseListener(SelectMenuChooseListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addSelectMenuChooseListener'"); + } + + @Override + public List getSelectMenuChooseListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getSelectMenuChooseListeners'"); + } + + @Override + public ListenerManager addButtonClickListener(ButtonClickListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addButtonClickListener'"); + } + + @Override + public List getButtonClickListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getButtonClickListeners'"); + } + + @Override + public ListenerManager addUserStartTypingListener(UserStartTypingListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserStartTypingListener'"); + } + + @Override + public List getUserStartTypingListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserStartTypingListeners'"); + } + + @Override + public ListenerManager addMessageEditListener(MessageEditListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageEditListener'"); + } + + @Override + public List getMessageEditListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageEditListeners'"); + } + + @Override + public ListenerManager addChannelPinsUpdateListener(ChannelPinsUpdateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addChannelPinsUpdateListener'"); + } + + @Override + public List getChannelPinsUpdateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getChannelPinsUpdateListeners'"); + } + + @Override + public ListenerManager addReactionRemoveListener(ReactionRemoveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveListener'"); + } + + @Override + public List getReactionRemoveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveListeners'"); + } + + @Override + public ListenerManager addReactionAddListener(ReactionAddListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionAddListener'"); + } + + @Override + public List getReactionAddListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionAddListeners'"); + } + + @Override + public ListenerManager addReactionRemoveAllListener(ReactionRemoveAllListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveAllListener'"); + } + + @Override + public List getReactionRemoveAllListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveAllListeners'"); + } + + @Override + public ListenerManager addMessageCreateListener(MessageCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageCreateListener'"); + } + + @Override + public List getMessageCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageCreateListeners'"); + } + + @Override + public ListenerManager addCachedMessageUnpinListener( + CachedMessageUnpinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessageUnpinListener'"); + } + + @Override + public List getCachedMessageUnpinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessageUnpinListeners'"); + } + + @Override + public ListenerManager addCachedMessagePinListener(CachedMessagePinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessagePinListener'"); + } + + @Override + public List getCachedMessagePinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessagePinListeners'"); + } + + @Override + public ListenerManager addMessageReplyListener(MessageReplyListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageReplyListener'"); + } + + @Override + public List getMessageReplyListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageReplyListeners'"); + } + + @Override + public ListenerManager addMessageDeleteListener(MessageDeleteListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageDeleteListener'"); + } + + @Override + public List getMessageDeleteListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageDeleteListeners'"); + } + + @Override + public Collection> addTextChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addTextChannelAttachableListener'"); + } + + @Override + public void removeTextChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeTextChannelAttachableListener'"); + } + + @Override + public Map>> getTextChannelAttachableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getTextChannelAttachableListeners'"); + } + + @Override + public void removeListener( + Class listenerClass, T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeLastMessageIdListener( + ServerThreadChannelChangeLastMessageIdListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeLastMessageIdListener'"); + } + + @Override + public List getServerThreadChannelChangeLastMessageIdListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeLastMessageIdListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeArchivedListener( + ServerThreadChannelChangeArchivedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeArchivedListener'"); + } + + @Override + public List getServerThreadChannelChangeArchivedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeArchivedListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeMemberCountListener( + ServerThreadChannelChangeMemberCountListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeMemberCountListener'"); + } + + @Override + public List getServerThreadChannelChangeMemberCountListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeMemberCountListeners'"); + } + + @Override + public ListenerManager addServerPrivateThreadJoinListener( + ServerPrivateThreadJoinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerPrivateThreadJoinListener'"); + } + + @Override + public List getServerPrivateThreadJoinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerPrivateThreadJoinListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeInvitableListener( + ServerThreadChannelChangeInvitableListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeInvitableListener'"); + } + + @Override + public List getServerThreadChannelChangeInvitableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeInvitableListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeAutoArchiveDurationListener( + ServerThreadChannelChangeAutoArchiveDurationListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeAutoArchiveDurationListener'"); + } + + @Override + public List getServerThreadChannelChangeAutoArchiveDurationListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeAutoArchiveDurationListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeRateLimitPerUserListener( + ServerThreadChannelChangeRateLimitPerUserListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeRateLimitPerUserListener'"); + } + + @Override + public List getServerThreadChannelChangeRateLimitPerUserListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeRateLimitPerUserListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeLockedListener( + ServerThreadChannelChangeLockedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeLockedListener'"); + } + + @Override + public List getServerThreadChannelChangeLockedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeLockedListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeArchiveTimestampListener( + ServerThreadChannelChangeArchiveTimestampListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeArchiveTimestampListener'"); + } + + @Override + public List getServerThreadChannelChangeArchiveTimestampListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeArchiveTimestampListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeTotalMessageSentListener( + ServerThreadChannelChangeTotalMessageSentListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeTotalMessageSentListener'"); + } + + @Override + public List getServerThreadChannelChangeTotalMessageSentListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeTotalMessageSentListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeMessageCountListener( + ServerThreadChannelChangeMessageCountListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeMessageCountListener'"); + } + + @Override + public List getServerThreadChannelChangeMessageCountListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeMessageCountListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelUpdateListener( + ServerThreadChannelUpdateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelUpdateListener'"); + } + + @Override + public List getServerThreadChannelUpdateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelUpdateListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelMembersUpdateListener( + ServerThreadChannelMembersUpdateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelMembersUpdateListener'"); + } + + @Override + public List getServerThreadChannelMembersUpdateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelMembersUpdateListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelCreateListener( + ServerThreadChannelCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelCreateListener'"); + } + + @Override + public List getServerThreadChannelCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelCreateListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelDeleteListener( + ServerThreadChannelDeleteListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelDeleteListener'"); + } + + @Override + public List getServerThreadChannelDeleteListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelDeleteListeners'"); + } + + @Override + public Collection> addServerThreadChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelAttachableListener'"); + } + + @Override + public void removeServerThreadChannelAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeServerThreadChannelAttachableListener'"); + } + + @Override + public Map>> getServerThreadChannelAttachableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelAttachableListeners'"); + } + + @Override + public void removeListener( + Class listenerClass, T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public CompletableFuture type() { + + throw new UnsupportedOperationException("Unimplemented method 'type'"); + } + + @Override + public CompletableFuture bulkDelete(long... messageIds) { + + throw new UnsupportedOperationException("Unimplemented method 'bulkDelete'"); + } + + @Override + public CompletableFuture getMessageById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageById'"); + } + + @Override + public CompletableFuture getPins() { + + throw new UnsupportedOperationException("Unimplemented method 'getPins'"); + } + + @Override + public CompletableFuture getMessages(int limit) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessages'"); + } + + @Override + public CompletableFuture getMessagesUntil(Predicate condition) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesUntil'"); + } + + @Override + public CompletableFuture getMessagesWhile(Predicate condition) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesWhile'"); + } + + @Override + public Stream getMessagesAsStream() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAsStream'"); + } + + @Override + public CompletableFuture getMessagesBefore(int limit, long before) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBefore'"); + } + + @Override + public CompletableFuture getMessagesBeforeUntil(Predicate condition, long before) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBeforeUntil'"); + } + + @Override + public CompletableFuture getMessagesBeforeWhile(Predicate condition, long before) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBeforeWhile'"); + } + + @Override + public Stream getMessagesBeforeAsStream(long before) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBeforeAsStream'"); + } + + @Override + public CompletableFuture getMessagesAfter(int limit, long after) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAfter'"); + } + + @Override + public CompletableFuture getMessagesAfterUntil(Predicate condition, long after) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAfterUntil'"); + } + + @Override + public CompletableFuture getMessagesAfterWhile(Predicate condition, long after) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAfterWhile'"); + } + + @Override + public Stream getMessagesAfterAsStream(long after) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAfterAsStream'"); + } + + @Override + public CompletableFuture getMessagesAround(int limit, long around) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAround'"); + } + + @Override + public CompletableFuture getMessagesAroundUntil(Predicate condition, long around) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAroundUntil'"); + } + + @Override + public CompletableFuture getMessagesAroundWhile(Predicate condition, long around) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAroundWhile'"); + } + + @Override + public Stream getMessagesAroundAsStream(long around) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesAroundAsStream'"); + } + + @Override + public CompletableFuture getMessagesBetween(long from, long to) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBetween'"); + } + + @Override + public CompletableFuture getMessagesBetweenUntil(Predicate condition, long from, long to) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBetweenUntil'"); + } + + @Override + public CompletableFuture getMessagesBetweenWhile(Predicate condition, long from, long to) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBetweenWhile'"); + } + + @Override + public Stream getMessagesBetweenAsStream(long from, long to) { + + throw new UnsupportedOperationException("Unimplemented method 'getMessagesBetweenAsStream'"); + } + + @Override + public MessageCache getMessageCache() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageCache'"); + } + + @Override + public CompletableFuture> getWebhooks() { + + throw new UnsupportedOperationException("Unimplemented method 'getWebhooks'"); + } + + @Override + public CompletableFuture> getAllIncomingWebhooks() { + + throw new UnsupportedOperationException("Unimplemented method 'getAllIncomingWebhooks'"); + } + + @Override + public CompletableFuture> getIncomingWebhooks() { + + throw new UnsupportedOperationException("Unimplemented method 'getIncomingWebhooks'"); + } + + @Override + public boolean canWrite(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canWrite'"); + } + + @Override + public boolean canUseExternalEmojis(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canUseExternalEmojis'"); + } + + @Override + public boolean canEmbedLinks(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canEmbedLinks'"); + } + + @Override + public boolean canReadMessageHistory(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canReadMessageHistory'"); + } + + @Override + public boolean canUseTts(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canUseTts'"); + } + + @Override + public boolean canAttachFiles(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canAttachFiles'"); + } + + @Override + public boolean canAddNewReactions(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canAddNewReactions'"); + } + + @Override + public boolean canManageMessages(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canManageMessages'"); + } + + @Override + public boolean canMentionEveryone(User user) { + + throw new UnsupportedOperationException("Unimplemented method 'canMentionEveryone'"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/DiscordApiMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/DiscordApiMock.java new file mode 100644 index 0000000..d0e952f --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/DiscordApiMock.java @@ -0,0 +1,605 @@ +package net.tomatentum.marinara.test.mocks; + +import java.time.Duration; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.CompletableFuture; +import java.util.function.Function; + +import org.javacord.api.DiscordApi; +import org.javacord.api.entity.ApplicationInfo; +import org.javacord.api.entity.activity.Activity; +import org.javacord.api.entity.activity.ActivityType; +import org.javacord.api.entity.channel.Channel; +import org.javacord.api.entity.channel.ChannelCategory; +import org.javacord.api.entity.channel.PrivateChannel; +import org.javacord.api.entity.channel.RegularServerChannel; +import org.javacord.api.entity.channel.ServerChannel; +import org.javacord.api.entity.channel.ServerForumChannel; +import org.javacord.api.entity.channel.ServerStageVoiceChannel; +import org.javacord.api.entity.channel.ServerTextChannel; +import org.javacord.api.entity.channel.ServerThreadChannel; +import org.javacord.api.entity.channel.ServerVoiceChannel; +import org.javacord.api.entity.channel.TextChannel; +import org.javacord.api.entity.channel.VoiceChannel; +import org.javacord.api.entity.emoji.CustomEmoji; +import org.javacord.api.entity.emoji.KnownCustomEmoji; +import org.javacord.api.entity.intent.Intent; +import org.javacord.api.entity.message.Message; +import org.javacord.api.entity.message.MessageSet; +import org.javacord.api.entity.message.UncachedMessageUtil; +import org.javacord.api.entity.server.Server; +import org.javacord.api.entity.server.invite.Invite; +import org.javacord.api.entity.sticker.Sticker; +import org.javacord.api.entity.sticker.StickerPack; +import org.javacord.api.entity.user.User; +import org.javacord.api.entity.user.UserStatus; +import org.javacord.api.entity.webhook.IncomingWebhook; +import org.javacord.api.entity.webhook.Webhook; +import org.javacord.api.interaction.ApplicationCommand; +import org.javacord.api.interaction.ApplicationCommandBuilder; +import org.javacord.api.interaction.MessageContextMenu; +import org.javacord.api.interaction.ServerApplicationCommandPermissions; +import org.javacord.api.interaction.SlashCommand; +import org.javacord.api.interaction.UserContextMenu; +import org.javacord.api.listener.GloballyAttachableListener; +import org.javacord.api.util.concurrent.ThreadPool; +import org.javacord.api.util.event.ListenerManager; +import org.javacord.api.util.ratelimit.Ratelimiter; + +public class DiscordApiMock implements DiscordApi{ + + @Override + public ListenerManager addListener(Class listenerClass, T listener) { + return null; + } + + @Override + public Collection> addListener( + GloballyAttachableListener listener) { + return null; + } + + @Override + public void removeListener(GloballyAttachableListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public void removeListener(Class listenerClass, T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public Map>> getListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getListeners'"); + } + + @Override + public List getListeners(Class listenerClass) { + + throw new UnsupportedOperationException("Unimplemented method 'getListeners'"); + } + + @Override + public String getToken() { + + throw new UnsupportedOperationException("Unimplemented method 'getToken'"); + } + + @Override + public String getPrefixedToken() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrefixedToken'"); + } + + @Override + public Set getIntents() { + + throw new UnsupportedOperationException("Unimplemented method 'getIntents'"); + } + + @Override + public ThreadPool getThreadPool() { + + throw new UnsupportedOperationException("Unimplemented method 'getThreadPool'"); + } + + @Override + public void setEventsDispatchable(boolean dispatchEvents) { + + throw new UnsupportedOperationException("Unimplemented method 'setEventsDispatchable'"); + } + + @Override + public boolean canDispatchEvents() { + + throw new UnsupportedOperationException("Unimplemented method 'canDispatchEvents'"); + } + + @Override + public CompletableFuture> getGlobalApplicationCommands() { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalApplicationCommands'"); + } + + @Override + public CompletableFuture getGlobalApplicationCommandById(long applicationCommandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalApplicationCommandById'"); + } + + @Override + public CompletableFuture> getServerApplicationCommands(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerApplicationCommands'"); + } + + @Override + public CompletableFuture getServerApplicationCommandById(Server server, + long applicationCommandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerApplicationCommandById'"); + } + + @Override + public CompletableFuture> getGlobalSlashCommands() { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalSlashCommands'"); + } + + @Override + public CompletableFuture getGlobalSlashCommandById(long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalSlashCommandById'"); + } + + @Override + public CompletableFuture> getServerSlashCommands(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerSlashCommands'"); + } + + @Override + public CompletableFuture getServerSlashCommandById(Server server, long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerSlashCommandById'"); + } + + @Override + public CompletableFuture> getGlobalUserContextMenus() { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalUserContextMenus'"); + } + + @Override + public CompletableFuture getGlobalUserContextMenuById(long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalUserContextMenuById'"); + } + + @Override + public CompletableFuture> getServerUserContextMenus(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerUserContextMenus'"); + } + + @Override + public CompletableFuture getServerUserContextMenuById(Server server, long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerUserContextMenuById'"); + } + + @Override + public CompletableFuture> getGlobalMessageContextMenus() { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalMessageContextMenus'"); + } + + @Override + public CompletableFuture getGlobalMessageContextMenuById(long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalMessageContextMenuById'"); + } + + @Override + public CompletableFuture> getServerMessageContextMenus(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMessageContextMenus'"); + } + + @Override + public CompletableFuture getServerMessageContextMenuById(Server server, long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMessageContextMenuById'"); + } + + @Override + public CompletableFuture> getServerApplicationCommandPermissions( + Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerApplicationCommandPermissions'"); + } + + @Override + public CompletableFuture getServerApplicationCommandPermissionsById( + Server server, long commandId) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerApplicationCommandPermissionsById'"); + } + + @Override + public CompletableFuture> bulkOverwriteGlobalApplicationCommands( + Set> applicationCommandBuilderList) { + + throw new UnsupportedOperationException("Unimplemented method 'bulkOverwriteGlobalApplicationCommands'"); + } + + @Override + public CompletableFuture> bulkOverwriteServerApplicationCommands(long server, + Set> applicationCommandBuilderList) { + + throw new UnsupportedOperationException("Unimplemented method 'bulkOverwriteServerApplicationCommands'"); + } + + @Override + public UncachedMessageUtil getUncachedMessageUtil() { + + throw new UnsupportedOperationException("Unimplemented method 'getUncachedMessageUtil'"); + } + + @Override + public Optional getGlobalRatelimiter() { + + throw new UnsupportedOperationException("Unimplemented method 'getGlobalRatelimiter'"); + } + + @Override + public Ratelimiter getGatewayIdentifyRatelimiter() { + + throw new UnsupportedOperationException("Unimplemented method 'getGatewayIdentifyRatelimiter'"); + } + + @Override + public Duration getLatestGatewayLatency() { + + throw new UnsupportedOperationException("Unimplemented method 'getLatestGatewayLatency'"); + } + + @Override + public CompletableFuture measureRestLatency() { + + throw new UnsupportedOperationException("Unimplemented method 'measureRestLatency'"); + } + + @Override + public void setMessageCacheSize(int capacity, int storageTimeInSeconds) { + + throw new UnsupportedOperationException("Unimplemented method 'setMessageCacheSize'"); + } + + @Override + public int getDefaultMessageCacheCapacity() { + + throw new UnsupportedOperationException("Unimplemented method 'getDefaultMessageCacheCapacity'"); + } + + @Override + public int getDefaultMessageCacheStorageTimeInSeconds() { + + throw new UnsupportedOperationException("Unimplemented method 'getDefaultMessageCacheStorageTimeInSeconds'"); + } + + @Override + public void setAutomaticMessageCacheCleanupEnabled(boolean automaticMessageCacheCleanupEnabled) { + + throw new UnsupportedOperationException("Unimplemented method 'setAutomaticMessageCacheCleanupEnabled'"); + } + + @Override + public boolean isDefaultAutomaticMessageCacheCleanupEnabled() { + + throw new UnsupportedOperationException("Unimplemented method 'isDefaultAutomaticMessageCacheCleanupEnabled'"); + } + + @Override + public int getCurrentShard() { + + throw new UnsupportedOperationException("Unimplemented method 'getCurrentShard'"); + } + + @Override + public int getTotalShards() { + + throw new UnsupportedOperationException("Unimplemented method 'getTotalShards'"); + } + + @Override + public boolean isWaitingForServersOnStartup() { + + throw new UnsupportedOperationException("Unimplemented method 'isWaitingForServersOnStartup'"); + } + + @Override + public boolean isWaitingForUsersOnStartup() { + + throw new UnsupportedOperationException("Unimplemented method 'isWaitingForUsersOnStartup'"); + } + + @Override + public void updateStatus(UserStatus status) { + + throw new UnsupportedOperationException("Unimplemented method 'updateStatus'"); + } + + @Override + public UserStatus getStatus() { + + throw new UnsupportedOperationException("Unimplemented method 'getStatus'"); + } + + @Override + public void updateActivity(String name) { + + throw new UnsupportedOperationException("Unimplemented method 'updateActivity'"); + } + + @Override + public void updateActivity(ActivityType type, String name) { + + throw new UnsupportedOperationException("Unimplemented method 'updateActivity'"); + } + + @Override + public void updateActivity(String name, String streamingUrl) { + + throw new UnsupportedOperationException("Unimplemented method 'updateActivity'"); + } + + @Override + public void unsetActivity() { + + throw new UnsupportedOperationException("Unimplemented method 'unsetActivity'"); + } + + @Override + public Optional getActivity() { + + throw new UnsupportedOperationException("Unimplemented method 'getActivity'"); + } + + @Override + public User getYourself() { + + throw new UnsupportedOperationException("Unimplemented method 'getYourself'"); + } + + @Override + public CompletableFuture disconnect() { + + throw new UnsupportedOperationException("Unimplemented method 'disconnect'"); + } + + @Override + public void setReconnectDelay(Function reconnectDelayProvider) { + + throw new UnsupportedOperationException("Unimplemented method 'setReconnectDelay'"); + } + + @Override + public int getReconnectDelay(int attempt) { + + throw new UnsupportedOperationException("Unimplemented method 'getReconnectDelay'"); + } + + @Override + public ApplicationInfo getCachedApplicationInfo() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedApplicationInfo'"); + } + + @Override + public CompletableFuture requestApplicationInfo() { + + throw new UnsupportedOperationException("Unimplemented method 'requestApplicationInfo'"); + } + + @Override + public CompletableFuture getWebhookById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getWebhookById'"); + } + + @Override + public CompletableFuture getIncomingWebhookByIdAndToken(String id, String token) { + + throw new UnsupportedOperationException("Unimplemented method 'getIncomingWebhookByIdAndToken'"); + } + + @Override + public Set getUnavailableServers() { + + throw new UnsupportedOperationException("Unimplemented method 'getUnavailableServers'"); + } + + @Override + public CompletableFuture getInviteByCode(String code) { + + throw new UnsupportedOperationException("Unimplemented method 'getInviteByCode'"); + } + + @Override + public CompletableFuture getInviteWithMemberCountsByCode(String code) { + + throw new UnsupportedOperationException("Unimplemented method 'getInviteWithMemberCountsByCode'"); + } + + @Override + public boolean isUserCacheEnabled() { + + throw new UnsupportedOperationException("Unimplemented method 'isUserCacheEnabled'"); + } + + @Override + public Set getCachedUsers() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedUsers'"); + } + + @Override + public Optional getCachedUserById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedUserById'"); + } + + @Override + public CompletableFuture getUserById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getUserById'"); + } + + @Override + public MessageSet getCachedMessages() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessages'"); + } + + @Override + public Optional getCachedMessageById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessageById'"); + } + + @Override + public Set getServers() { + + throw new UnsupportedOperationException("Unimplemented method 'getServers'"); + } + + @Override + public Set getCustomEmojis() { + + throw new UnsupportedOperationException("Unimplemented method 'getCustomEmojis'"); + } + + @Override + public CustomEmoji getKnownCustomEmojiOrCreateCustomEmoji(long id, String name, boolean animated) { + + throw new UnsupportedOperationException("Unimplemented method 'getKnownCustomEmojiOrCreateCustomEmoji'"); + } + + @Override + public CompletableFuture> getNitroStickerPacks() { + + throw new UnsupportedOperationException("Unimplemented method 'getNitroStickerPacks'"); + } + + @Override + public Optional getStickerById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getStickerById'"); + } + + @Override + public CompletableFuture requestStickerById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'requestStickerById'"); + } + + @Override + public Set getChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getChannels'"); + } + + @Override + public Set getPrivateChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrivateChannels'"); + } + + @Override + public Set getServerChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerChannels'"); + } + + @Override + public Set getRegularServerChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getRegularServerChannels'"); + } + + @Override + public Set getChannelCategories() { + + throw new UnsupportedOperationException("Unimplemented method 'getChannelCategories'"); + } + + @Override + public Set getServerTextChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerTextChannels'"); + } + + @Override + public Set getServerForumChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerForumChannels'"); + } + + @Override + public Set getServerThreadChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannels'"); + } + + @Override + public Set getPrivateServerThreadChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrivateServerThreadChannels'"); + } + + @Override + public Set getPublicServerThreadChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getPublicServerThreadChannels'"); + } + + @Override + public Set getServerVoiceChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannels'"); + } + + @Override + public Set getServerStageVoiceChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerStageVoiceChannels'"); + } + + @Override + public Set getTextChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getTextChannels'"); + } + + @Override + public Set getVoiceChannels() { + + throw new UnsupportedOperationException("Unimplemented method 'getVoiceChannels'"); + } + + @Override + public Optional getChannelById(long id) { + + throw new UnsupportedOperationException("Unimplemented method 'getChannelById'"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/MessageMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/MessageMock.java new file mode 100644 index 0000000..248fffd --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/MessageMock.java @@ -0,0 +1,443 @@ +package net.tomatentum.marinara.test.mocks; + +import java.time.Instant; +import java.util.Collection; +import java.util.EnumSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.CompletableFuture; + +import org.javacord.api.DiscordApi; +import org.javacord.api.entity.channel.TextChannel; +import org.javacord.api.entity.emoji.CustomEmoji; +import org.javacord.api.entity.message.Message; +import org.javacord.api.entity.message.MessageActivity; +import org.javacord.api.entity.message.MessageAttachment; +import org.javacord.api.entity.message.MessageAuthor; +import org.javacord.api.entity.message.MessageFlag; +import org.javacord.api.entity.message.MessageReference; +import org.javacord.api.entity.message.MessageType; +import org.javacord.api.entity.message.Reaction; +import org.javacord.api.entity.message.component.HighLevelComponent; +import org.javacord.api.entity.message.embed.Embed; +import org.javacord.api.entity.permission.Role; +import org.javacord.api.entity.sticker.StickerItem; +import org.javacord.api.entity.user.User; +import org.javacord.api.interaction.MessageInteraction; +import org.javacord.api.listener.ObjectAttachableListener; +import org.javacord.api.listener.interaction.ButtonClickListener; +import org.javacord.api.listener.interaction.MessageComponentCreateListener; +import org.javacord.api.listener.interaction.MessageContextMenuCommandListener; +import org.javacord.api.listener.interaction.SelectMenuChooseListener; +import org.javacord.api.listener.message.CachedMessagePinListener; +import org.javacord.api.listener.message.CachedMessageUnpinListener; +import org.javacord.api.listener.message.MessageAttachableListener; +import org.javacord.api.listener.message.MessageDeleteListener; +import org.javacord.api.listener.message.MessageEditListener; +import org.javacord.api.listener.message.MessageReplyListener; +import org.javacord.api.listener.message.reaction.ReactionAddListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveAllListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveListener; +import org.javacord.api.util.event.ListenerManager; + +public class MessageMock implements Message{ + + @Override + public DiscordApi getApi() { + + throw new UnsupportedOperationException("Unimplemented method 'getApi'"); + } + + @Override + public long getId() { + + throw new UnsupportedOperationException("Unimplemented method 'getId'"); + } + + @Override + public int compareTo(Message arg0) { + + throw new UnsupportedOperationException("Unimplemented method 'compareTo'"); + } + + @Override + public ListenerManager addMessageContextMenuCommandListener( + MessageContextMenuCommandListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageContextMenuCommandListener'"); + } + + @Override + public List getMessageContextMenuCommandListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addMessageComponentCreateListener( + MessageComponentCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageComponentCreateListener'"); + } + + @Override + public List getMessageComponentCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageComponentCreateListeners'"); + } + + @Override + public ListenerManager addSelectMenuChooseListener(SelectMenuChooseListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addSelectMenuChooseListener'"); + } + + @Override + public List getSelectMenuChooseListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getSelectMenuChooseListeners'"); + } + + @Override + public ListenerManager addButtonClickListener(ButtonClickListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addButtonClickListener'"); + } + + @Override + public List getButtonClickListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getButtonClickListeners'"); + } + + @Override + public ListenerManager addMessageEditListener(MessageEditListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageEditListener'"); + } + + @Override + public List getMessageEditListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageEditListeners'"); + } + + @Override + public ListenerManager addReactionRemoveListener(ReactionRemoveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveListener'"); + } + + @Override + public List getReactionRemoveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveListeners'"); + } + + @Override + public ListenerManager addReactionAddListener(ReactionAddListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionAddListener'"); + } + + @Override + public List getReactionAddListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionAddListeners'"); + } + + @Override + public ListenerManager addReactionRemoveAllListener(ReactionRemoveAllListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveAllListener'"); + } + + @Override + public List getReactionRemoveAllListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveAllListeners'"); + } + + @Override + public ListenerManager addCachedMessageUnpinListener( + CachedMessageUnpinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessageUnpinListener'"); + } + + @Override + public List getCachedMessageUnpinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessageUnpinListeners'"); + } + + @Override + public ListenerManager addCachedMessagePinListener(CachedMessagePinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessagePinListener'"); + } + + @Override + public List getCachedMessagePinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessagePinListeners'"); + } + + @Override + public ListenerManager addMessageReplyListener(MessageReplyListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageReplyListener'"); + } + + @Override + public List getMessageReplyListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageReplyListeners'"); + } + + @Override + public ListenerManager addMessageDeleteListener(MessageDeleteListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageDeleteListener'"); + } + + @Override + public List getMessageDeleteListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageDeleteListeners'"); + } + + @Override + public Collection> addMessageAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageAttachableListener'"); + } + + @Override + public void removeMessageAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeMessageAttachableListener'"); + } + + @Override + public Map>> getMessageAttachableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageAttachableListeners'"); + } + + @Override + public void removeListener(Class listenerClass, + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public boolean canYouReadContent() { + + throw new UnsupportedOperationException("Unimplemented method 'canYouReadContent'"); + } + + @Override + public String getContent() { + + throw new UnsupportedOperationException("Unimplemented method 'getContent'"); + } + + @Override + public Optional getLastEditTimestamp() { + + throw new UnsupportedOperationException("Unimplemented method 'getLastEditTimestamp'"); + } + + @Override + public List getAttachments() { + + throw new UnsupportedOperationException("Unimplemented method 'getAttachments'"); + } + + @Override + public List getCustomEmojis() { + + throw new UnsupportedOperationException("Unimplemented method 'getCustomEmojis'"); + } + + @Override + public MessageType getType() { + + throw new UnsupportedOperationException("Unimplemented method 'getType'"); + } + + @Override + public TextChannel getChannel() { + + throw new UnsupportedOperationException("Unimplemented method 'getChannel'"); + } + + @Override + public Optional getActivity() { + + throw new UnsupportedOperationException("Unimplemented method 'getActivity'"); + } + + @Override + public EnumSet getFlags() { + + throw new UnsupportedOperationException("Unimplemented method 'getFlags'"); + } + + @Override + public boolean isPinned() { + + throw new UnsupportedOperationException("Unimplemented method 'isPinned'"); + } + + @Override + public boolean isTts() { + + throw new UnsupportedOperationException("Unimplemented method 'isTts'"); + } + + @Override + public boolean mentionsEveryone() { + + throw new UnsupportedOperationException("Unimplemented method 'mentionsEveryone'"); + } + + @Override + public List getEmbeds() { + + throw new UnsupportedOperationException("Unimplemented method 'getEmbeds'"); + } + + @Override + public Optional getUserAuthor() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserAuthor'"); + } + + @Override + public MessageAuthor getAuthor() { + + throw new UnsupportedOperationException("Unimplemented method 'getAuthor'"); + } + + @Override + public Optional getMessageReference() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageReference'"); + } + + @Override + public Optional getReferencedMessage() { + + throw new UnsupportedOperationException("Unimplemented method 'getReferencedMessage'"); + } + + @Override + public boolean isCachedForever() { + + throw new UnsupportedOperationException("Unimplemented method 'isCachedForever'"); + } + + @Override + public void setCachedForever(boolean cachedForever) { + + throw new UnsupportedOperationException("Unimplemented method 'setCachedForever'"); + } + + @Override + public List getReactions() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactions'"); + } + + @Override + public Optional getMessageInteraction() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageInteraction'"); + } + + @Override + public List getComponents() { + + throw new UnsupportedOperationException("Unimplemented method 'getComponents'"); + } + + @Override + public List getMentionedUsers() { + + throw new UnsupportedOperationException("Unimplemented method 'getMentionedUsers'"); + } + + @Override + public List getMentionedRoles() { + + throw new UnsupportedOperationException("Unimplemented method 'getMentionedRoles'"); + } + + @Override + public Optional getNonce() { + + throw new UnsupportedOperationException("Unimplemented method 'getNonce'"); + } + + @Override + public Set getStickerItems() { + + throw new UnsupportedOperationException("Unimplemented method 'getStickerItems'"); + } + + @Override + public Optional getPosition() { + + throw new UnsupportedOperationException("Unimplemented method 'getPosition'"); + } + + @Override + public CompletableFuture addReactions(String... unicodeEmojis) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactions'"); + } + + @Override + public CompletableFuture removeReactionByEmoji(User user, String unicodeEmoji) { + + throw new UnsupportedOperationException("Unimplemented method 'removeReactionByEmoji'"); + } + + @Override + public CompletableFuture removeReactionByEmoji(String unicodeEmoji) { + + throw new UnsupportedOperationException("Unimplemented method 'removeReactionByEmoji'"); + } + + @Override + public CompletableFuture removeReactionsByEmoji(User user, String... unicodeEmojis) { + + throw new UnsupportedOperationException("Unimplemented method 'removeReactionsByEmoji'"); + } + + @Override + public CompletableFuture removeReactionsByEmoji(String... unicodeEmojis) { + + throw new UnsupportedOperationException("Unimplemented method 'removeReactionsByEmoji'"); + } + + @Override + public CompletableFuture removeOwnReactionByEmoji(String unicodeEmoji) { + + throw new UnsupportedOperationException("Unimplemented method 'removeOwnReactionByEmoji'"); + } + + @Override + public CompletableFuture removeOwnReactionsByEmoji(String... unicodeEmojis) { + + throw new UnsupportedOperationException("Unimplemented method 'removeOwnReactionsByEmoji'"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ServerMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ServerMock.java new file mode 100644 index 0000000..5a0daaa --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/ServerMock.java @@ -0,0 +1,2263 @@ +package net.tomatentum.marinara.test.mocks; + +import java.time.Instant; +import java.util.Collection; +import java.util.EnumSet; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.TimeUnit; + +import org.javacord.api.DiscordApi; +import org.javacord.api.audio.AudioConnection; +import org.javacord.api.entity.Icon; +import org.javacord.api.entity.Region; +import org.javacord.api.entity.VanityUrlCode; +import org.javacord.api.entity.auditlog.AuditLog; +import org.javacord.api.entity.auditlog.AuditLogActionType; +import org.javacord.api.entity.auditlog.AuditLogEntry; +import org.javacord.api.entity.channel.ChannelCategory; +import org.javacord.api.entity.channel.RegularServerChannel; +import org.javacord.api.entity.channel.ServerChannel; +import org.javacord.api.entity.channel.ServerForumChannel; +import org.javacord.api.entity.channel.ServerTextChannel; +import org.javacord.api.entity.channel.ServerThreadChannel; +import org.javacord.api.entity.channel.ServerVoiceChannel; +import org.javacord.api.entity.emoji.KnownCustomEmoji; +import org.javacord.api.entity.permission.Role; +import org.javacord.api.entity.server.ActiveThreads; +import org.javacord.api.entity.server.Ban; +import org.javacord.api.entity.server.BoostLevel; +import org.javacord.api.entity.server.DefaultMessageNotificationLevel; +import org.javacord.api.entity.server.ExplicitContentFilterLevel; +import org.javacord.api.entity.server.MultiFactorAuthenticationLevel; +import org.javacord.api.entity.server.NsfwLevel; +import org.javacord.api.entity.server.Server; +import org.javacord.api.entity.server.ServerFeature; +import org.javacord.api.entity.server.SystemChannelFlag; +import org.javacord.api.entity.server.VerificationLevel; +import org.javacord.api.entity.server.invite.RichInvite; +import org.javacord.api.entity.server.invite.WelcomeScreen; +import org.javacord.api.entity.sticker.Sticker; +import org.javacord.api.entity.user.User; +import org.javacord.api.entity.webhook.IncomingWebhook; +import org.javacord.api.entity.webhook.Webhook; +import org.javacord.api.interaction.SlashCommand; +import org.javacord.api.listener.ObjectAttachableListener; +import org.javacord.api.listener.channel.server.ServerChannelChangeNameListener; +import org.javacord.api.listener.channel.server.ServerChannelChangeNsfwFlagListener; +import org.javacord.api.listener.channel.server.ServerChannelChangeOverwrittenPermissionsListener; +import org.javacord.api.listener.channel.server.ServerChannelChangePositionListener; +import org.javacord.api.listener.channel.server.ServerChannelCreateListener; +import org.javacord.api.listener.channel.server.ServerChannelDeleteListener; +import org.javacord.api.listener.channel.server.invite.ServerChannelInviteCreateListener; +import org.javacord.api.listener.channel.server.invite.ServerChannelInviteDeleteListener; +import org.javacord.api.listener.channel.server.text.ServerTextChannelChangeDefaultAutoArchiveDurationListener; +import org.javacord.api.listener.channel.server.text.ServerTextChannelChangeSlowmodeListener; +import org.javacord.api.listener.channel.server.text.ServerTextChannelChangeTopicListener; +import org.javacord.api.listener.channel.server.text.WebhooksUpdateListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelMembersUpdateListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadChannelUpdateListener; +import org.javacord.api.listener.channel.server.thread.ServerThreadListSyncListener; +import org.javacord.api.listener.channel.server.voice.ServerStageVoiceChannelChangeTopicListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelChangeBitrateListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelChangeNsfwListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelChangeUserLimitListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelMemberJoinListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelMemberLeaveListener; +import org.javacord.api.listener.interaction.AutocompleteCreateListener; +import org.javacord.api.listener.interaction.ButtonClickListener; +import org.javacord.api.listener.interaction.InteractionCreateListener; +import org.javacord.api.listener.interaction.MessageComponentCreateListener; +import org.javacord.api.listener.interaction.MessageContextMenuCommandListener; +import org.javacord.api.listener.interaction.ModalSubmitListener; +import org.javacord.api.listener.interaction.SelectMenuChooseListener; +import org.javacord.api.listener.interaction.SlashCommandCreateListener; +import org.javacord.api.listener.interaction.UserContextMenuCommandListener; +import org.javacord.api.listener.message.CachedMessagePinListener; +import org.javacord.api.listener.message.CachedMessageUnpinListener; +import org.javacord.api.listener.message.ChannelPinsUpdateListener; +import org.javacord.api.listener.message.MessageCreateListener; +import org.javacord.api.listener.message.MessageDeleteListener; +import org.javacord.api.listener.message.MessageEditListener; +import org.javacord.api.listener.message.MessageReplyListener; +import org.javacord.api.listener.message.reaction.ReactionAddListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveAllListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveListener; +import org.javacord.api.listener.server.ApplicationCommandPermissionsUpdateListener; +import org.javacord.api.listener.server.ServerAttachableListener; +import org.javacord.api.listener.server.ServerBecomesUnavailableListener; +import org.javacord.api.listener.server.ServerChangeAfkChannelListener; +import org.javacord.api.listener.server.ServerChangeAfkTimeoutListener; +import org.javacord.api.listener.server.ServerChangeBoostCountListener; +import org.javacord.api.listener.server.ServerChangeBoostLevelListener; +import org.javacord.api.listener.server.ServerChangeDefaultMessageNotificationLevelListener; +import org.javacord.api.listener.server.ServerChangeDescriptionListener; +import org.javacord.api.listener.server.ServerChangeDiscoverySplashListener; +import org.javacord.api.listener.server.ServerChangeExplicitContentFilterLevelListener; +import org.javacord.api.listener.server.ServerChangeIconListener; +import org.javacord.api.listener.server.ServerChangeModeratorsOnlyChannelListener; +import org.javacord.api.listener.server.ServerChangeMultiFactorAuthenticationLevelListener; +import org.javacord.api.listener.server.ServerChangeNameListener; +import org.javacord.api.listener.server.ServerChangeNsfwLevelListener; +import org.javacord.api.listener.server.ServerChangeOwnerListener; +import org.javacord.api.listener.server.ServerChangePreferredLocaleListener; +import org.javacord.api.listener.server.ServerChangeRegionListener; +import org.javacord.api.listener.server.ServerChangeRulesChannelListener; +import org.javacord.api.listener.server.ServerChangeServerFeatureListener; +import org.javacord.api.listener.server.ServerChangeSplashListener; +import org.javacord.api.listener.server.ServerChangeSystemChannelListener; +import org.javacord.api.listener.server.ServerChangeVanityUrlCodeListener; +import org.javacord.api.listener.server.ServerChangeVerificationLevelListener; +import org.javacord.api.listener.server.ServerLeaveListener; +import org.javacord.api.listener.server.VoiceServerUpdateListener; +import org.javacord.api.listener.server.emoji.KnownCustomEmojiChangeNameListener; +import org.javacord.api.listener.server.emoji.KnownCustomEmojiChangeWhitelistedRolesListener; +import org.javacord.api.listener.server.emoji.KnownCustomEmojiCreateListener; +import org.javacord.api.listener.server.emoji.KnownCustomEmojiDeleteListener; +import org.javacord.api.listener.server.member.ServerMemberBanListener; +import org.javacord.api.listener.server.member.ServerMemberJoinListener; +import org.javacord.api.listener.server.member.ServerMemberLeaveListener; +import org.javacord.api.listener.server.member.ServerMemberUnbanListener; +import org.javacord.api.listener.server.member.ServerMembersChunkListener; +import org.javacord.api.listener.server.role.RoleChangeColorListener; +import org.javacord.api.listener.server.role.RoleChangeHoistListener; +import org.javacord.api.listener.server.role.RoleChangeMentionableListener; +import org.javacord.api.listener.server.role.RoleChangeNameListener; +import org.javacord.api.listener.server.role.RoleChangePermissionsListener; +import org.javacord.api.listener.server.role.RoleChangePositionListener; +import org.javacord.api.listener.server.role.RoleCreateListener; +import org.javacord.api.listener.server.role.RoleDeleteListener; +import org.javacord.api.listener.server.role.UserRoleAddListener; +import org.javacord.api.listener.server.role.UserRoleRemoveListener; +import org.javacord.api.listener.server.sticker.StickerChangeDescriptionListener; +import org.javacord.api.listener.server.sticker.StickerChangeNameListener; +import org.javacord.api.listener.server.sticker.StickerChangeTagsListener; +import org.javacord.api.listener.server.sticker.StickerCreateListener; +import org.javacord.api.listener.server.sticker.StickerDeleteListener; +import org.javacord.api.listener.server.thread.ServerPrivateThreadJoinListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeArchiveTimestampListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeArchivedListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeAutoArchiveDurationListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeInvitableListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeLastMessageIdListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeLockedListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeMemberCountListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeMessageCountListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeRateLimitPerUserListener; +import org.javacord.api.listener.server.thread.ServerThreadChannelChangeTotalMessageSentListener; +import org.javacord.api.listener.user.UserChangeActivityListener; +import org.javacord.api.listener.user.UserChangeAvatarListener; +import org.javacord.api.listener.user.UserChangeDeafenedListener; +import org.javacord.api.listener.user.UserChangeDiscriminatorListener; +import org.javacord.api.listener.user.UserChangeMutedListener; +import org.javacord.api.listener.user.UserChangeNameListener; +import org.javacord.api.listener.user.UserChangeNicknameListener; +import org.javacord.api.listener.user.UserChangePendingListener; +import org.javacord.api.listener.user.UserChangeSelfDeafenedListener; +import org.javacord.api.listener.user.UserChangeSelfMutedListener; +import org.javacord.api.listener.user.UserChangeServerAvatarListener; +import org.javacord.api.listener.user.UserChangeStatusListener; +import org.javacord.api.listener.user.UserChangeTimeoutListener; +import org.javacord.api.listener.user.UserStartTypingListener; +import org.javacord.api.util.event.ListenerManager; + +public class ServerMock implements Server { + + @Override + public DiscordApi getApi() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getApi'"); + } + + @Override + public long getId() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getId'"); + } + + @Override + public String getName() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getName'"); + } + + @Override + public CompletableFuture delete(String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'delete'"); + } + + @Override + public ListenerManager addInteractionCreateListener(InteractionCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addInteractionCreateListener'"); + } + + @Override + public List getInteractionCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getInteractionCreateListeners'"); + } + + @Override + public ListenerManager addSlashCommandCreateListener( + SlashCommandCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addSlashCommandCreateListener'"); + } + + @Override + public List getSlashCommandCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSlashCommandCreateListeners'"); + } + + @Override + public ListenerManager addAutocompleteCreateListener( + AutocompleteCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addAutocompleteCreateListener'"); + } + + @Override + public List getAutocompleteCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAutocompleteCreateListeners'"); + } + + @Override + public ListenerManager addModalSubmitListener(ModalSubmitListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addModalSubmitListener'"); + } + + @Override + public List getModalSubmitListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getModalSubmitListeners'"); + } + + @Override + public ListenerManager addMessageContextMenuCommandListener( + MessageContextMenuCommandListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageContextMenuCommandListener'"); + } + + @Override + public List getMessageContextMenuCommandListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addMessageComponentCreateListener( + MessageComponentCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageComponentCreateListener'"); + } + + @Override + public List getMessageComponentCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageComponentCreateListeners'"); + } + + @Override + public ListenerManager addUserContextMenuCommandListener( + UserContextMenuCommandListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserContextMenuCommandListener'"); + } + + @Override + public List getUserContextMenuCommandListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addSelectMenuChooseListener(SelectMenuChooseListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addSelectMenuChooseListener'"); + } + + @Override + public List getSelectMenuChooseListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSelectMenuChooseListeners'"); + } + + @Override + public ListenerManager addButtonClickListener(ButtonClickListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addButtonClickListener'"); + } + + @Override + public List getButtonClickListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getButtonClickListeners'"); + } + + @Override + public ListenerManager addServerChangeIconListener(ServerChangeIconListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeIconListener'"); + } + + @Override + public List getServerChangeIconListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeIconListeners'"); + } + + @Override + public ListenerManager addServerChangeNameListener(ServerChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeNameListener'"); + } + + @Override + public List getServerChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeNameListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeLastMessageIdListener( + ServerThreadChannelChangeLastMessageIdListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeLastMessageIdListener'"); + } + + @Override + public List getServerThreadChannelChangeLastMessageIdListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeLastMessageIdListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeArchivedListener( + ServerThreadChannelChangeArchivedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeArchivedListener'"); + } + + @Override + public List getServerThreadChannelChangeArchivedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeArchivedListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeMemberCountListener( + ServerThreadChannelChangeMemberCountListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeMemberCountListener'"); + } + + @Override + public List getServerThreadChannelChangeMemberCountListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeMemberCountListeners'"); + } + + @Override + public ListenerManager addServerPrivateThreadJoinListener( + ServerPrivateThreadJoinListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerPrivateThreadJoinListener'"); + } + + @Override + public List getServerPrivateThreadJoinListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerPrivateThreadJoinListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeInvitableListener( + ServerThreadChannelChangeInvitableListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeInvitableListener'"); + } + + @Override + public List getServerThreadChannelChangeInvitableListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeInvitableListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeAutoArchiveDurationListener( + ServerThreadChannelChangeAutoArchiveDurationListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeAutoArchiveDurationListener'"); + } + + @Override + public List getServerThreadChannelChangeAutoArchiveDurationListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeAutoArchiveDurationListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeRateLimitPerUserListener( + ServerThreadChannelChangeRateLimitPerUserListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeRateLimitPerUserListener'"); + } + + @Override + public List getServerThreadChannelChangeRateLimitPerUserListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeRateLimitPerUserListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeLockedListener( + ServerThreadChannelChangeLockedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeLockedListener'"); + } + + @Override + public List getServerThreadChannelChangeLockedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeLockedListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeArchiveTimestampListener( + ServerThreadChannelChangeArchiveTimestampListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeArchiveTimestampListener'"); + } + + @Override + public List getServerThreadChannelChangeArchiveTimestampListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeArchiveTimestampListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeTotalMessageSentListener( + ServerThreadChannelChangeTotalMessageSentListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeTotalMessageSentListener'"); + } + + @Override + public List getServerThreadChannelChangeTotalMessageSentListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeTotalMessageSentListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelChangeMessageCountListener( + ServerThreadChannelChangeMessageCountListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelChangeMessageCountListener'"); + } + + @Override + public List getServerThreadChannelChangeMessageCountListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelChangeMessageCountListeners'"); + } + + @Override + public ListenerManager addServerChangeAfkTimeoutListener( + ServerChangeAfkTimeoutListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeAfkTimeoutListener'"); + } + + @Override + public List getServerChangeAfkTimeoutListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeAfkTimeoutListeners'"); + } + + @Override + public ListenerManager addStickerChangeTagsListener(StickerChangeTagsListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addStickerChangeTagsListener'"); + } + + @Override + public List getStickerChangeTagsListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickerChangeTagsListeners'"); + } + + @Override + public ListenerManager addStickerChangeDescriptionListener( + StickerChangeDescriptionListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addStickerChangeDescriptionListener'"); + } + + @Override + public List getStickerChangeDescriptionListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickerChangeDescriptionListeners'"); + } + + @Override + public ListenerManager addStickerCreateListener(StickerCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addStickerCreateListener'"); + } + + @Override + public List getStickerCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickerCreateListeners'"); + } + + @Override + public ListenerManager addStickerChangeNameListener(StickerChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addStickerChangeNameListener'"); + } + + @Override + public List getStickerChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickerChangeNameListeners'"); + } + + @Override + public ListenerManager addStickerDeleteListener(StickerDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addStickerDeleteListener'"); + } + + @Override + public List getStickerDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickerDeleteListeners'"); + } + + @Override + public ListenerManager addServerChangeSplashListener( + ServerChangeSplashListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeSplashListener'"); + } + + @Override + public List getServerChangeSplashListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeSplashListeners'"); + } + + @Override + public ListenerManager addServerChangeAfkChannelListener( + ServerChangeAfkChannelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeAfkChannelListener'"); + } + + @Override + public List getServerChangeAfkChannelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeAfkChannelListeners'"); + } + + @Override + public ListenerManager addServerChangeVanityUrlCodeListener( + ServerChangeVanityUrlCodeListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeVanityUrlCodeListener'"); + } + + @Override + public List getServerChangeVanityUrlCodeListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeVanityUrlCodeListeners'"); + } + + @Override + public ListenerManager addServerChangeDiscoverySplashListener( + ServerChangeDiscoverySplashListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeDiscoverySplashListener'"); + } + + @Override + public List getServerChangeDiscoverySplashListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeDiscoverySplashListeners'"); + } + + @Override + public ListenerManager addApplicationCommandPermissionsUpdateListener( + ApplicationCommandPermissionsUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addApplicationCommandPermissionsUpdateListener'"); + } + + @Override + public List getApplicationCommandPermissionsUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getApplicationCommandPermissionsUpdateListeners'"); + } + + @Override + public ListenerManager addServerBecomesUnavailableListener( + ServerBecomesUnavailableListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerBecomesUnavailableListener'"); + } + + @Override + public List getServerBecomesUnavailableListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerBecomesUnavailableListeners'"); + } + + @Override + public ListenerManager addVoiceServerUpdateListener(VoiceServerUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addVoiceServerUpdateListener'"); + } + + @Override + public List getVoiceServerUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getVoiceServerUpdateListeners'"); + } + + @Override + public ListenerManager addServerChangeDescriptionListener( + ServerChangeDescriptionListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeDescriptionListener'"); + } + + @Override + public List getServerChangeDescriptionListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeDescriptionListeners'"); + } + + @Override + public ListenerManager addServerChangeVerificationLevelListener( + ServerChangeVerificationLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeVerificationLevelListener'"); + } + + @Override + public List getServerChangeVerificationLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeVerificationLevelListeners'"); + } + + @Override + public ListenerManager addServerLeaveListener(ServerLeaveListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerLeaveListener'"); + } + + @Override + public List getServerLeaveListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerLeaveListeners'"); + } + + @Override + public ListenerManager addServerChangeBoostCountListener( + ServerChangeBoostCountListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeBoostCountListener'"); + } + + @Override + public List getServerChangeBoostCountListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeBoostCountListeners'"); + } + + @Override + public ListenerManager addServerChangeDefaultMessageNotificationLevelListener( + ServerChangeDefaultMessageNotificationLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeDefaultMessageNotificationLevelListener'"); + } + + @Override + public List getServerChangeDefaultMessageNotificationLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeDefaultMessageNotificationLevelListeners'"); + } + + @Override + public ListenerManager addServerChangeRegionListener( + ServerChangeRegionListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeRegionListener'"); + } + + @Override + public List getServerChangeRegionListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeRegionListeners'"); + } + + @Override + public ListenerManager addServerMemberJoinListener(ServerMemberJoinListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberJoinListener'"); + } + + @Override + public List getServerMemberJoinListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberJoinListeners'"); + } + + @Override + public ListenerManager addServerMemberLeaveListener(ServerMemberLeaveListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberLeaveListener'"); + } + + @Override + public List getServerMemberLeaveListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberLeaveListeners'"); + } + + @Override + public ListenerManager addServerMemberBanListener(ServerMemberBanListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberBanListener'"); + } + + @Override + public List getServerMemberBanListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberBanListeners'"); + } + + @Override + public ListenerManager addServerMembersChunkListener( + ServerMembersChunkListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerMembersChunkListener'"); + } + + @Override + public List getServerMembersChunkListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerMembersChunkListeners'"); + } + + @Override + public ListenerManager addServerMemberUnbanListener(ServerMemberUnbanListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberUnbanListener'"); + } + + @Override + public List getServerMemberUnbanListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberUnbanListeners'"); + } + + @Override + public ListenerManager addKnownCustomEmojiChangeNameListener( + KnownCustomEmojiChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addKnownCustomEmojiChangeNameListener'"); + } + + @Override + public List getKnownCustomEmojiChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getKnownCustomEmojiChangeNameListeners'"); + } + + @Override + public ListenerManager addKnownCustomEmojiDeleteListener( + KnownCustomEmojiDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addKnownCustomEmojiDeleteListener'"); + } + + @Override + public List getKnownCustomEmojiDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getKnownCustomEmojiDeleteListeners'"); + } + + @Override + public ListenerManager addKnownCustomEmojiChangeWhitelistedRolesListener( + KnownCustomEmojiChangeWhitelistedRolesListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addKnownCustomEmojiChangeWhitelistedRolesListener'"); + } + + @Override + public List getKnownCustomEmojiChangeWhitelistedRolesListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getKnownCustomEmojiChangeWhitelistedRolesListeners'"); + } + + @Override + public ListenerManager addKnownCustomEmojiCreateListener( + KnownCustomEmojiCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addKnownCustomEmojiCreateListener'"); + } + + @Override + public List getKnownCustomEmojiCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getKnownCustomEmojiCreateListeners'"); + } + + @Override + public ListenerManager addServerChangeSystemChannelListener( + ServerChangeSystemChannelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeSystemChannelListener'"); + } + + @Override + public List getServerChangeSystemChannelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeSystemChannelListeners'"); + } + + @Override + public ListenerManager addServerChangePreferredLocaleListener( + ServerChangePreferredLocaleListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangePreferredLocaleListener'"); + } + + @Override + public List getServerChangePreferredLocaleListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangePreferredLocaleListeners'"); + } + + @Override + public ListenerManager addServerChangeBoostLevelListener( + ServerChangeBoostLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeBoostLevelListener'"); + } + + @Override + public List getServerChangeBoostLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeBoostLevelListeners'"); + } + + @Override + public ListenerManager addServerChangeRulesChannelListener( + ServerChangeRulesChannelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeRulesChannelListener'"); + } + + @Override + public List getServerChangeRulesChannelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeRulesChannelListeners'"); + } + + @Override + public ListenerManager addServerChangeServerFeatureListener( + ServerChangeServerFeatureListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeServerFeatureListener'"); + } + + @Override + public List getServerChangeServerFeatureListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeServerFeatureListeners'"); + } + + @Override + public ListenerManager addServerChangeOwnerListener(ServerChangeOwnerListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeOwnerListener'"); + } + + @Override + public List getServerChangeOwnerListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeOwnerListeners'"); + } + + @Override + public ListenerManager addServerChangeMultiFactorAuthenticationLevelListener( + ServerChangeMultiFactorAuthenticationLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeMultiFactorAuthenticationLevelListener'"); + } + + @Override + public List getServerChangeMultiFactorAuthenticationLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeMultiFactorAuthenticationLevelListeners'"); + } + + @Override + public ListenerManager addServerChangeExplicitContentFilterLevelListener( + ServerChangeExplicitContentFilterLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeExplicitContentFilterLevelListener'"); + } + + @Override + public List getServerChangeExplicitContentFilterLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeExplicitContentFilterLevelListeners'"); + } + + @Override + public ListenerManager addRoleChangePositionListener( + RoleChangePositionListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangePositionListener'"); + } + + @Override + public List getRoleChangePositionListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangePositionListeners'"); + } + + @Override + public ListenerManager addRoleChangeMentionableListener( + RoleChangeMentionableListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangeMentionableListener'"); + } + + @Override + public List getRoleChangeMentionableListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangeMentionableListeners'"); + } + + @Override + public ListenerManager addRoleChangeColorListener(RoleChangeColorListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangeColorListener'"); + } + + @Override + public List getRoleChangeColorListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangeColorListeners'"); + } + + @Override + public ListenerManager addRoleChangeNameListener(RoleChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangeNameListener'"); + } + + @Override + public List getRoleChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangeNameListeners'"); + } + + @Override + public ListenerManager addRoleChangeHoistListener(RoleChangeHoistListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangeHoistListener'"); + } + + @Override + public List getRoleChangeHoistListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangeHoistListeners'"); + } + + @Override + public ListenerManager addRoleCreateListener(RoleCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleCreateListener'"); + } + + @Override + public List getRoleCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleCreateListeners'"); + } + + @Override + public ListenerManager addRoleChangePermissionsListener( + RoleChangePermissionsListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleChangePermissionsListener'"); + } + + @Override + public List getRoleChangePermissionsListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleChangePermissionsListeners'"); + } + + @Override + public ListenerManager addUserRoleRemoveListener(UserRoleRemoveListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserRoleRemoveListener'"); + } + + @Override + public List getUserRoleRemoveListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserRoleRemoveListeners'"); + } + + @Override + public ListenerManager addUserRoleAddListener(UserRoleAddListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserRoleAddListener'"); + } + + @Override + public List getUserRoleAddListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserRoleAddListeners'"); + } + + @Override + public ListenerManager addRoleDeleteListener(RoleDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleDeleteListener'"); + } + + @Override + public List getRoleDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleDeleteListeners'"); + } + + @Override + public ListenerManager addServerChangeModeratorsOnlyChannelListener( + ServerChangeModeratorsOnlyChannelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeModeratorsOnlyChannelListener'"); + } + + @Override + public List getServerChangeModeratorsOnlyChannelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeModeratorsOnlyChannelListeners'"); + } + + @Override + public ListenerManager addServerChangeNsfwLevelListener( + ServerChangeNsfwLevelListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChangeNsfwLevelListener'"); + } + + @Override + public List getServerChangeNsfwLevelListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChangeNsfwLevelListeners'"); + } + + @Override + public ListenerManager addServerChannelChangePositionListener( + ServerChannelChangePositionListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelChangePositionListener'"); + } + + @Override + public List getServerChannelChangePositionListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelChangePositionListeners'"); + } + + @Override + public ListenerManager addServerThreadListSyncListener( + ServerThreadListSyncListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadListSyncListener'"); + } + + @Override + public List getServerThreadListSyncListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadListSyncListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelUpdateListener( + ServerThreadChannelUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelUpdateListener'"); + } + + @Override + public List getServerThreadChannelUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelUpdateListeners'"); + } + + @Override + public ListenerManager addServerThreadChannelMembersUpdateListener( + ServerThreadChannelMembersUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerThreadChannelMembersUpdateListener'"); + } + + @Override + public List getServerThreadChannelMembersUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerThreadChannelMembersUpdateListeners'"); + } + + @Override + public ListenerManager addWebhooksUpdateListener(WebhooksUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addWebhooksUpdateListener'"); + } + + @Override + public List getWebhooksUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getWebhooksUpdateListeners'"); + } + + @Override + public ListenerManager addServerTextChannelChangeDefaultAutoArchiveDurationListener( + ServerTextChannelChangeDefaultAutoArchiveDurationListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerTextChannelChangeDefaultAutoArchiveDurationListener'"); + } + + @Override + public List getServerTextChannelChangeDefaultAutoArchiveDurationListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerTextChannelChangeDefaultAutoArchiveDurationListeners'"); + } + + @Override + public ListenerManager addServerTextChannelChangeSlowmodeListener( + ServerTextChannelChangeSlowmodeListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerTextChannelChangeSlowmodeListener'"); + } + + @Override + public List getServerTextChannelChangeSlowmodeListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerTextChannelChangeSlowmodeListeners'"); + } + + @Override + public ListenerManager addServerTextChannelChangeTopicListener( + ServerTextChannelChangeTopicListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerTextChannelChangeTopicListener'"); + } + + @Override + public List getServerTextChannelChangeTopicListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerTextChannelChangeTopicListeners'"); + } + + @Override + public ListenerManager addServerChannelChangeOverwrittenPermissionsListener( + ServerChannelChangeOverwrittenPermissionsListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelChangeOverwrittenPermissionsListener'"); + } + + @Override + public List getServerChannelChangeOverwrittenPermissionsListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelChangeOverwrittenPermissionsListeners'"); + } + + @Override + public ListenerManager addServerChannelInviteDeleteListener( + ServerChannelInviteDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelInviteDeleteListener'"); + } + + @Override + public List getServerChannelInviteDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelInviteDeleteListeners'"); + } + + @Override + public ListenerManager addServerChannelInviteCreateListener( + ServerChannelInviteCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelInviteCreateListener'"); + } + + @Override + public List getServerChannelInviteCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelInviteCreateListeners'"); + } + + @Override + public ListenerManager addServerChannelChangeNsfwFlagListener( + ServerChannelChangeNsfwFlagListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelChangeNsfwFlagListener'"); + } + + @Override + public List getServerChannelChangeNsfwFlagListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelChangeNsfwFlagListeners'"); + } + + @Override + public ListenerManager addServerChannelDeleteListener( + ServerChannelDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelDeleteListener'"); + } + + @Override + public List getServerChannelDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelDeleteListeners'"); + } + + @Override + public ListenerManager addServerChannelCreateListener( + ServerChannelCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelCreateListener'"); + } + + @Override + public List getServerChannelCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelCreateListeners'"); + } + + @Override + public ListenerManager addServerStageVoiceChannelChangeTopicListener( + ServerStageVoiceChannelChangeTopicListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerStageVoiceChannelChangeTopicListener'"); + } + + @Override + public List getServerStageVoiceChannelChangeTopicListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerStageVoiceChannelChangeTopicListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelChangeBitrateListener( + ServerVoiceChannelChangeBitrateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelChangeBitrateListener'"); + } + + @Override + public List getServerVoiceChannelChangeBitrateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelChangeBitrateListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelChangeUserLimitListener( + ServerVoiceChannelChangeUserLimitListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelChangeUserLimitListener'"); + } + + @Override + public List getServerVoiceChannelChangeUserLimitListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelChangeUserLimitListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelMemberLeaveListener( + ServerVoiceChannelMemberLeaveListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelMemberLeaveListener'"); + } + + @Override + public List getServerVoiceChannelMemberLeaveListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelMemberLeaveListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelChangeNsfwListener( + ServerVoiceChannelChangeNsfwListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelChangeNsfwListener'"); + } + + @Override + public List getServerVoiceChannelChangeNsfwListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelChangeNsfwListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelMemberJoinListener( + ServerVoiceChannelMemberJoinListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelMemberJoinListener'"); + } + + @Override + public List getServerVoiceChannelMemberJoinListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelMemberJoinListeners'"); + } + + @Override + public ListenerManager addServerChannelChangeNameListener( + ServerChannelChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelChangeNameListener'"); + } + + @Override + public List getServerChannelChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelChangeNameListeners'"); + } + + @Override + public ListenerManager addUserChangeDeafenedListener( + UserChangeDeafenedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeDeafenedListener'"); + } + + @Override + public List getUserChangeDeafenedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeDeafenedListeners'"); + } + + @Override + public ListenerManager addUserChangeNicknameListener( + UserChangeNicknameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeNicknameListener'"); + } + + @Override + public List getUserChangeNicknameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeNicknameListeners'"); + } + + @Override + public ListenerManager addUserChangePendingListener(UserChangePendingListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangePendingListener'"); + } + + @Override + public List getUserChangePendingListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangePendingListeners'"); + } + + @Override + public ListenerManager addUserStartTypingListener(UserStartTypingListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserStartTypingListener'"); + } + + @Override + public List getUserStartTypingListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserStartTypingListeners'"); + } + + @Override + public ListenerManager addUserChangeDiscriminatorListener( + UserChangeDiscriminatorListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeDiscriminatorListener'"); + } + + @Override + public List getUserChangeDiscriminatorListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeDiscriminatorListeners'"); + } + + @Override + public ListenerManager addUserChangeStatusListener(UserChangeStatusListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeStatusListener'"); + } + + @Override + public List getUserChangeStatusListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeStatusListeners'"); + } + + @Override + public ListenerManager addUserChangeServerAvatarListener( + UserChangeServerAvatarListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeServerAvatarListener'"); + } + + @Override + public List getUserChangeServerAvatarListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeServerAvatarListeners'"); + } + + @Override + public ListenerManager addUserChangeSelfMutedListener( + UserChangeSelfMutedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeSelfMutedListener'"); + } + + @Override + public List getUserChangeSelfMutedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeSelfMutedListeners'"); + } + + @Override + public ListenerManager addUserChangeNameListener(UserChangeNameListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeNameListener'"); + } + + @Override + public List getUserChangeNameListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeNameListeners'"); + } + + @Override + public ListenerManager addUserChangeTimeoutListener(UserChangeTimeoutListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeTimeoutListener'"); + } + + @Override + public List getUserChangeTimeoutListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeTimeoutListeners'"); + } + + @Override + public ListenerManager addUserChangeAvatarListener(UserChangeAvatarListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeAvatarListener'"); + } + + @Override + public List getUserChangeAvatarListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeAvatarListeners'"); + } + + @Override + public ListenerManager addUserChangeSelfDeafenedListener( + UserChangeSelfDeafenedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeSelfDeafenedListener'"); + } + + @Override + public List getUserChangeSelfDeafenedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeSelfDeafenedListeners'"); + } + + @Override + public ListenerManager addUserChangeMutedListener(UserChangeMutedListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeMutedListener'"); + } + + @Override + public List getUserChangeMutedListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeMutedListeners'"); + } + + @Override + public ListenerManager addUserChangeActivityListener( + UserChangeActivityListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeActivityListener'"); + } + + @Override + public List getUserChangeActivityListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeActivityListeners'"); + } + + @Override + public ListenerManager addMessageEditListener(MessageEditListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageEditListener'"); + } + + @Override + public List getMessageEditListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageEditListeners'"); + } + + @Override + public ListenerManager addChannelPinsUpdateListener(ChannelPinsUpdateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addChannelPinsUpdateListener'"); + } + + @Override + public List getChannelPinsUpdateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getChannelPinsUpdateListeners'"); + } + + @Override + public ListenerManager addReactionRemoveListener(ReactionRemoveListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveListener'"); + } + + @Override + public List getReactionRemoveListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveListeners'"); + } + + @Override + public ListenerManager addReactionAddListener(ReactionAddListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addReactionAddListener'"); + } + + @Override + public List getReactionAddListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getReactionAddListeners'"); + } + + @Override + public ListenerManager addReactionRemoveAllListener(ReactionRemoveAllListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveAllListener'"); + } + + @Override + public List getReactionRemoveAllListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveAllListeners'"); + } + + @Override + public ListenerManager addMessageCreateListener(MessageCreateListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageCreateListener'"); + } + + @Override + public List getMessageCreateListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageCreateListeners'"); + } + + @Override + public ListenerManager addCachedMessageUnpinListener( + CachedMessageUnpinListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessageUnpinListener'"); + } + + @Override + public List getCachedMessageUnpinListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessageUnpinListeners'"); + } + + @Override + public ListenerManager addCachedMessagePinListener(CachedMessagePinListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addCachedMessagePinListener'"); + } + + @Override + public List getCachedMessagePinListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getCachedMessagePinListeners'"); + } + + @Override + public ListenerManager addMessageReplyListener(MessageReplyListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageReplyListener'"); + } + + @Override + public List getMessageReplyListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageReplyListeners'"); + } + + @Override + public ListenerManager addMessageDeleteListener(MessageDeleteListener listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addMessageDeleteListener'"); + } + + @Override + public List getMessageDeleteListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMessageDeleteListeners'"); + } + + @Override + public Collection> addServerAttachableListener( + T listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addServerAttachableListener'"); + } + + @Override + public void removeServerAttachableListener( + T listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'removeServerAttachableListener'"); + } + + @Override + public Map>> getServerAttachableListeners() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerAttachableListeners'"); + } + + @Override + public void removeListener(Class listenerClass, + T listener) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public Optional getAudioConnection() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAudioConnection'"); + } + + @Override + public Set getFeatures() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getFeatures'"); + } + + @Override + public BoostLevel getBoostLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getBoostLevel'"); + } + + @Override + public int getBoostCount() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getBoostCount'"); + } + + @Override + public Optional getRulesChannel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRulesChannel'"); + } + + @Override + public Optional getDescription() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getDescription'"); + } + + @Override + public NsfwLevel getNsfwLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getNsfwLevel'"); + } + + @Override + public Optional getModeratorsOnlyChannel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getModeratorsOnlyChannel'"); + } + + @Override + public Optional getVanityUrlCode() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getVanityUrlCode'"); + } + + @Override + public Optional getDiscoverySplash() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getDiscoverySplash'"); + } + + @Override + public Locale getPreferredLocale() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getPreferredLocale'"); + } + + @Override + public Region getRegion() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRegion'"); + } + + @Override + public Optional getNickname(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getNickname'"); + } + + @Override + public Optional getServerBoostingSinceTimestamp(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getServerBoostingSinceTimestamp'"); + } + + @Override + public Optional getTimeout(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getTimeout'"); + } + + @Override + public Optional getUserServerAvatarHash(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserServerAvatarHash'"); + } + + @Override + public Optional getUserServerAvatar(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserServerAvatar'"); + } + + @Override + public Optional getUserServerAvatar(User user, int size) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUserServerAvatar'"); + } + + @Override + public boolean isPending(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isPending'"); + } + + @Override + public boolean isSelfMuted(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isSelfMuted'"); + } + + @Override + public boolean isSelfDeafened(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isSelfDeafened'"); + } + + @Override + public boolean isMuted(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isMuted'"); + } + + @Override + public boolean isDeafened(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isDeafened'"); + } + + @Override + public Optional getJoinedAtTimestamp(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getJoinedAtTimestamp'"); + } + + @Override + public boolean isLarge() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isLarge'"); + } + + @Override + public int getMemberCount() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMemberCount'"); + } + + @Override + public Optional getOwner() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getOwner'"); + } + + @Override + public long getOwnerId() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getOwnerId'"); + } + + @Override + public Optional getApplicationId() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getApplicationId'"); + } + + @Override + public VerificationLevel getVerificationLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getVerificationLevel'"); + } + + @Override + public ExplicitContentFilterLevel getExplicitContentFilterLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getExplicitContentFilterLevel'"); + } + + @Override + public DefaultMessageNotificationLevel getDefaultMessageNotificationLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getDefaultMessageNotificationLevel'"); + } + + @Override + public MultiFactorAuthenticationLevel getMultiFactorAuthenticationLevel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMultiFactorAuthenticationLevel'"); + } + + @Override + public Optional getIcon() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getIcon'"); + } + + @Override + public Optional getSplash() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSplash'"); + } + + @Override + public Optional getSystemChannel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSystemChannel'"); + } + + @Override + public Optional getAfkChannel() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAfkChannel'"); + } + + @Override + public int getAfkTimeoutInSeconds() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAfkTimeoutInSeconds'"); + } + + @Override + public CompletableFuture getPruneCount(int days) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getPruneCount'"); + } + + @Override + public CompletableFuture pruneMembers(int days, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'pruneMembers'"); + } + + @Override + public CompletableFuture> getInvites() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getInvites'"); + } + + @Override + public boolean hasAllMembersInCache() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'hasAllMembersInCache'"); + } + + @Override + public void requestMembersChunks() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'requestMembersChunks'"); + } + + @Override + public Set getMembers() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMembers'"); + } + + @Override + public Optional getMemberById(long id) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMemberById'"); + } + + @Override + public boolean isMember(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isMember'"); + } + + @Override + public List getRoles() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoles'"); + } + + @Override + public List getRoles(User user) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoles'"); + } + + @Override + public Optional getRoleById(long id) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRoleById'"); + } + + @Override + public CompletableFuture leave() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'leave'"); + } + + @Override + public CompletableFuture addRoleToUser(User user, Role role, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'addRoleToUser'"); + } + + @Override + public CompletableFuture removeRoleFromUser(User user, Role role, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'removeRoleFromUser'"); + } + + @Override + public CompletableFuture reorderRoles(List roles, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'reorderRoles'"); + } + + @Override + public void selfMute() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'selfMute'"); + } + + @Override + public void selfUnmute() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'selfUnmute'"); + } + + @Override + public void selfDeafen() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'selfDeafen'"); + } + + @Override + public void selfUndeafen() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'selfUndeafen'"); + } + + @Override + public CompletableFuture requestMember(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'requestMember'"); + } + + @Override + public CompletableFuture kickUser(User user, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'kickUser'"); + } + + @Override + public CompletableFuture banUser(String userId, long deleteMessageDuration, TimeUnit unit, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'banUser'"); + } + + @Override + public CompletableFuture unbanUser(long userId, String reason) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'unbanUser'"); + } + + @Override + public CompletableFuture requestBan(long userId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'requestBan'"); + } + + @Override + public CompletableFuture> getBans() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getBans'"); + } + + @Override + public CompletableFuture> getBans(Integer limit, Long after) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getBans'"); + } + + @Override + public CompletableFuture> getWebhooks() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getWebhooks'"); + } + + @Override + public CompletableFuture> getAllIncomingWebhooks() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAllIncomingWebhooks'"); + } + + @Override + public CompletableFuture> getIncomingWebhooks() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getIncomingWebhooks'"); + } + + @Override + public CompletableFuture getAuditLog(int limit) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAuditLog'"); + } + + @Override + public CompletableFuture getAuditLog(int limit, AuditLogActionType type) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAuditLog'"); + } + + @Override + public CompletableFuture getAuditLogBefore(int limit, AuditLogEntry before) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAuditLogBefore'"); + } + + @Override + public CompletableFuture getAuditLogBefore(int limit, AuditLogEntry before, AuditLogActionType type) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getAuditLogBefore'"); + } + + @Override + public Set getCustomEmojis() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getCustomEmojis'"); + } + + @Override + public CompletableFuture> getSlashCommands() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSlashCommands'"); + } + + @Override + public CompletableFuture getSlashCommandById(long commandId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSlashCommandById'"); + } + + @Override + public List getChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getChannels'"); + } + + @Override + public Set getUnorderedChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getUnorderedChannels'"); + } + + @Override + public List getRegularChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRegularChannels'"); + } + + @Override + public List getChannelCategories() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getChannelCategories'"); + } + + @Override + public List getTextChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getTextChannels'"); + } + + @Override + public List getForumChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getForumChannels'"); + } + + @Override + public List getVoiceChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getVoiceChannels'"); + } + + @Override + public List getThreadChannels() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getThreadChannels'"); + } + + @Override + public Optional getChannelById(long id) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getChannelById'"); + } + + @Override + public Optional getRegularChannelById(long id) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getRegularChannelById'"); + } + + @Override + public CompletableFuture joinServerThreadChannel(long channelId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'joinServerThreadChannel'"); + } + + @Override + public CompletableFuture leaveServerThreadChannel(long channelId) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'leaveServerThreadChannel'"); + } + + @Override + public CompletableFuture getActiveThreads() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getActiveThreads'"); + } + + @Override + public Set getStickers() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getStickers'"); + } + + @Override + public CompletableFuture> requestStickers() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'requestStickers'"); + } + + @Override + public CompletableFuture requestStickerById(long id) { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'requestStickerById'"); + } + + @Override + public boolean isWidgetEnabled() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isWidgetEnabled'"); + } + + @Override + public Optional getWidgetChannelId() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getWidgetChannelId'"); + } + + @Override + public Optional getMaxPresences() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMaxPresences'"); + } + + @Override + public Optional getMaxMembers() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMaxMembers'"); + } + + @Override + public Optional getMaxVideoChannelUsers() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getMaxVideoChannelUsers'"); + } + + @Override + public Optional getWelcomeScreen() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getWelcomeScreen'"); + } + + @Override + public boolean isPremiumProgressBarEnabled() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'isPremiumProgressBarEnabled'"); + } + + @Override + public EnumSet getSystemChannelFlags() { + // TODO Auto-generated method stub + throw new UnsupportedOperationException("Unimplemented method 'getSystemChannelFlags'"); + } + +} diff --git a/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/UserMock.java b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/UserMock.java new file mode 100644 index 0000000..7258b04 --- /dev/null +++ b/wrapper/javacord/src/test/java/net/tomatentum/marinara/test/mocks/UserMock.java @@ -0,0 +1,752 @@ +package net.tomatentum.marinara.test.mocks; + +import java.awt.Color; +import java.time.Instant; +import java.util.Collection; +import java.util.EnumSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; +import java.util.concurrent.CompletableFuture; + +import org.javacord.api.DiscordApi; +import org.javacord.api.entity.DiscordClient; +import org.javacord.api.entity.Icon; +import org.javacord.api.entity.activity.Activity; +import org.javacord.api.entity.channel.PrivateChannel; +import org.javacord.api.entity.permission.Role; +import org.javacord.api.entity.server.Server; +import org.javacord.api.entity.user.User; +import org.javacord.api.entity.user.UserFlag; +import org.javacord.api.entity.user.UserStatus; +import org.javacord.api.listener.ObjectAttachableListener; +import org.javacord.api.listener.channel.server.ServerChannelChangeOverwrittenPermissionsListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelMemberJoinListener; +import org.javacord.api.listener.channel.server.voice.ServerVoiceChannelMemberLeaveListener; +import org.javacord.api.listener.channel.user.PrivateChannelCreateListener; +import org.javacord.api.listener.channel.user.PrivateChannelDeleteListener; +import org.javacord.api.listener.interaction.AutocompleteCreateListener; +import org.javacord.api.listener.interaction.ButtonClickListener; +import org.javacord.api.listener.interaction.InteractionCreateListener; +import org.javacord.api.listener.interaction.MessageComponentCreateListener; +import org.javacord.api.listener.interaction.MessageContextMenuCommandListener; +import org.javacord.api.listener.interaction.ModalSubmitListener; +import org.javacord.api.listener.interaction.SelectMenuChooseListener; +import org.javacord.api.listener.interaction.SlashCommandCreateListener; +import org.javacord.api.listener.interaction.UserContextMenuCommandListener; +import org.javacord.api.listener.message.MessageCreateListener; +import org.javacord.api.listener.message.MessageReplyListener; +import org.javacord.api.listener.message.reaction.ReactionAddListener; +import org.javacord.api.listener.message.reaction.ReactionRemoveListener; +import org.javacord.api.listener.server.member.ServerMemberBanListener; +import org.javacord.api.listener.server.member.ServerMemberJoinListener; +import org.javacord.api.listener.server.member.ServerMemberLeaveListener; +import org.javacord.api.listener.server.member.ServerMemberUnbanListener; +import org.javacord.api.listener.server.role.UserRoleAddListener; +import org.javacord.api.listener.server.role.UserRoleRemoveListener; +import org.javacord.api.listener.user.UserAttachableListener; +import org.javacord.api.listener.user.UserChangeActivityListener; +import org.javacord.api.listener.user.UserChangeAvatarListener; +import org.javacord.api.listener.user.UserChangeDeafenedListener; +import org.javacord.api.listener.user.UserChangeDiscriminatorListener; +import org.javacord.api.listener.user.UserChangeMutedListener; +import org.javacord.api.listener.user.UserChangeNameListener; +import org.javacord.api.listener.user.UserChangeNicknameListener; +import org.javacord.api.listener.user.UserChangePendingListener; +import org.javacord.api.listener.user.UserChangeSelfDeafenedListener; +import org.javacord.api.listener.user.UserChangeSelfMutedListener; +import org.javacord.api.listener.user.UserChangeServerAvatarListener; +import org.javacord.api.listener.user.UserChangeStatusListener; +import org.javacord.api.listener.user.UserChangeTimeoutListener; +import org.javacord.api.listener.user.UserStartTypingListener; +import org.javacord.api.util.event.ListenerManager; + +public class UserMock implements User { + + @Override + public DiscordApi getApi() { + + throw new UnsupportedOperationException("Unimplemented method 'getApi'"); + } + + @Override + public long getId() { + + throw new UnsupportedOperationException("Unimplemented method 'getId'"); + } + + @Override + public String getName() { + + throw new UnsupportedOperationException("Unimplemented method 'getName'"); + } + + @Override + public ListenerManager addInteractionCreateListener(InteractionCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addInteractionCreateListener'"); + } + + @Override + public List getInteractionCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getInteractionCreateListeners'"); + } + + @Override + public ListenerManager addSlashCommandCreateListener( + SlashCommandCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addSlashCommandCreateListener'"); + } + + @Override + public List getSlashCommandCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getSlashCommandCreateListeners'"); + } + + @Override + public ListenerManager addAutocompleteCreateListener( + AutocompleteCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addAutocompleteCreateListener'"); + } + + @Override + public List getAutocompleteCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getAutocompleteCreateListeners'"); + } + + @Override + public ListenerManager addModalSubmitListener(ModalSubmitListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addModalSubmitListener'"); + } + + @Override + public List getModalSubmitListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getModalSubmitListeners'"); + } + + @Override + public ListenerManager addMessageContextMenuCommandListener( + MessageContextMenuCommandListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageContextMenuCommandListener'"); + } + + @Override + public List getMessageContextMenuCommandListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addMessageComponentCreateListener( + MessageComponentCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageComponentCreateListener'"); + } + + @Override + public List getMessageComponentCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageComponentCreateListeners'"); + } + + @Override + public ListenerManager addUserContextMenuCommandListener( + UserContextMenuCommandListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserContextMenuCommandListener'"); + } + + @Override + public List getUserContextMenuCommandListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserContextMenuCommandListeners'"); + } + + @Override + public ListenerManager addSelectMenuChooseListener(SelectMenuChooseListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addSelectMenuChooseListener'"); + } + + @Override + public List getSelectMenuChooseListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getSelectMenuChooseListeners'"); + } + + @Override + public ListenerManager addButtonClickListener(ButtonClickListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addButtonClickListener'"); + } + + @Override + public List getButtonClickListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getButtonClickListeners'"); + } + + @Override + public ListenerManager addServerMemberJoinListener(ServerMemberJoinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberJoinListener'"); + } + + @Override + public List getServerMemberJoinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberJoinListeners'"); + } + + @Override + public ListenerManager addServerMemberLeaveListener(ServerMemberLeaveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberLeaveListener'"); + } + + @Override + public List getServerMemberLeaveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberLeaveListeners'"); + } + + @Override + public ListenerManager addServerMemberBanListener(ServerMemberBanListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberBanListener'"); + } + + @Override + public List getServerMemberBanListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberBanListeners'"); + } + + @Override + public ListenerManager addServerMemberUnbanListener(ServerMemberUnbanListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerMemberUnbanListener'"); + } + + @Override + public List getServerMemberUnbanListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerMemberUnbanListeners'"); + } + + @Override + public ListenerManager addUserRoleRemoveListener(UserRoleRemoveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserRoleRemoveListener'"); + } + + @Override + public List getUserRoleRemoveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserRoleRemoveListeners'"); + } + + @Override + public ListenerManager addUserRoleAddListener(UserRoleAddListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserRoleAddListener'"); + } + + @Override + public List getUserRoleAddListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserRoleAddListeners'"); + } + + @Override + public ListenerManager addServerChannelChangeOverwrittenPermissionsListener( + ServerChannelChangeOverwrittenPermissionsListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerChannelChangeOverwrittenPermissionsListener'"); + } + + @Override + public List getServerChannelChangeOverwrittenPermissionsListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerChannelChangeOverwrittenPermissionsListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelMemberLeaveListener( + ServerVoiceChannelMemberLeaveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelMemberLeaveListener'"); + } + + @Override + public List getServerVoiceChannelMemberLeaveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelMemberLeaveListeners'"); + } + + @Override + public ListenerManager addServerVoiceChannelMemberJoinListener( + ServerVoiceChannelMemberJoinListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addServerVoiceChannelMemberJoinListener'"); + } + + @Override + public List getServerVoiceChannelMemberJoinListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getServerVoiceChannelMemberJoinListeners'"); + } + + @Override + public ListenerManager addPrivateChannelDeleteListener( + PrivateChannelDeleteListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addPrivateChannelDeleteListener'"); + } + + @Override + public List getPrivateChannelDeleteListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrivateChannelDeleteListeners'"); + } + + @Override + public ListenerManager addPrivateChannelCreateListener( + PrivateChannelCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addPrivateChannelCreateListener'"); + } + + @Override + public List getPrivateChannelCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrivateChannelCreateListeners'"); + } + + @Override + public ListenerManager addUserChangeDeafenedListener( + UserChangeDeafenedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeDeafenedListener'"); + } + + @Override + public List getUserChangeDeafenedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeDeafenedListeners'"); + } + + @Override + public ListenerManager addUserChangeNicknameListener( + UserChangeNicknameListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeNicknameListener'"); + } + + @Override + public List getUserChangeNicknameListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeNicknameListeners'"); + } + + @Override + public ListenerManager addUserChangePendingListener(UserChangePendingListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangePendingListener'"); + } + + @Override + public List getUserChangePendingListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangePendingListeners'"); + } + + @Override + public ListenerManager addUserStartTypingListener(UserStartTypingListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserStartTypingListener'"); + } + + @Override + public List getUserStartTypingListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserStartTypingListeners'"); + } + + @Override + public ListenerManager addUserChangeDiscriminatorListener( + UserChangeDiscriminatorListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeDiscriminatorListener'"); + } + + @Override + public List getUserChangeDiscriminatorListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeDiscriminatorListeners'"); + } + + @Override + public ListenerManager addUserChangeStatusListener(UserChangeStatusListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeStatusListener'"); + } + + @Override + public List getUserChangeStatusListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeStatusListeners'"); + } + + @Override + public ListenerManager addUserChangeServerAvatarListener( + UserChangeServerAvatarListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeServerAvatarListener'"); + } + + @Override + public List getUserChangeServerAvatarListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeServerAvatarListeners'"); + } + + @Override + public ListenerManager addUserChangeSelfMutedListener( + UserChangeSelfMutedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeSelfMutedListener'"); + } + + @Override + public List getUserChangeSelfMutedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeSelfMutedListeners'"); + } + + @Override + public ListenerManager addUserChangeNameListener(UserChangeNameListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeNameListener'"); + } + + @Override + public List getUserChangeNameListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeNameListeners'"); + } + + @Override + public ListenerManager addUserChangeTimeoutListener(UserChangeTimeoutListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeTimeoutListener'"); + } + + @Override + public List getUserChangeTimeoutListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeTimeoutListeners'"); + } + + @Override + public ListenerManager addUserChangeAvatarListener(UserChangeAvatarListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeAvatarListener'"); + } + + @Override + public List getUserChangeAvatarListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeAvatarListeners'"); + } + + @Override + public ListenerManager addUserChangeSelfDeafenedListener( + UserChangeSelfDeafenedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeSelfDeafenedListener'"); + } + + @Override + public List getUserChangeSelfDeafenedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeSelfDeafenedListeners'"); + } + + @Override + public ListenerManager addUserChangeMutedListener(UserChangeMutedListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeMutedListener'"); + } + + @Override + public List getUserChangeMutedListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeMutedListeners'"); + } + + @Override + public ListenerManager addUserChangeActivityListener( + UserChangeActivityListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserChangeActivityListener'"); + } + + @Override + public List getUserChangeActivityListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserChangeActivityListeners'"); + } + + @Override + public ListenerManager addReactionRemoveListener(ReactionRemoveListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionRemoveListener'"); + } + + @Override + public List getReactionRemoveListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionRemoveListeners'"); + } + + @Override + public ListenerManager addReactionAddListener(ReactionAddListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addReactionAddListener'"); + } + + @Override + public List getReactionAddListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getReactionAddListeners'"); + } + + @Override + public ListenerManager addMessageCreateListener(MessageCreateListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageCreateListener'"); + } + + @Override + public List getMessageCreateListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageCreateListeners'"); + } + + @Override + public ListenerManager addMessageReplyListener(MessageReplyListener listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addMessageReplyListener'"); + } + + @Override + public List getMessageReplyListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getMessageReplyListeners'"); + } + + @Override + public Collection> addUserAttachableListener( + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'addUserAttachableListener'"); + } + + @Override + public void removeUserAttachableListener(T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeUserAttachableListener'"); + } + + @Override + public Map>> getUserAttachableListeners() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserAttachableListeners'"); + } + + @Override + public void removeListener(Class listenerClass, + T listener) { + + throw new UnsupportedOperationException("Unimplemented method 'removeListener'"); + } + + @Override + public String getDiscriminator() { + + throw new UnsupportedOperationException("Unimplemented method 'getDiscriminator'"); + } + + @Override + public boolean isBot() { + + throw new UnsupportedOperationException("Unimplemented method 'isBot'"); + } + + @Override + public Set getActivities() { + + throw new UnsupportedOperationException("Unimplemented method 'getActivities'"); + } + + @Override + public UserStatus getStatus() { + + throw new UnsupportedOperationException("Unimplemented method 'getStatus'"); + } + + @Override + public UserStatus getStatusOnClient(DiscordClient client) { + + throw new UnsupportedOperationException("Unimplemented method 'getStatusOnClient'"); + } + + @Override + public EnumSet getUserFlags() { + + throw new UnsupportedOperationException("Unimplemented method 'getUserFlags'"); + } + + @Override + public Optional getAvatarHash() { + + throw new UnsupportedOperationException("Unimplemented method 'getAvatarHash'"); + } + + @Override + public Icon getAvatar() { + + throw new UnsupportedOperationException("Unimplemented method 'getAvatar'"); + } + + @Override + public Icon getAvatar(int size) { + + throw new UnsupportedOperationException("Unimplemented method 'getAvatar'"); + } + + @Override + public Optional getServerAvatarHash(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerAvatarHash'"); + } + + @Override + public Optional getServerAvatar(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerAvatar'"); + } + + @Override + public Optional getServerAvatar(Server server, int size) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerAvatar'"); + } + + @Override + public Icon getEffectiveAvatar(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getEffectiveAvatar'"); + } + + @Override + public Icon getEffectiveAvatar(Server server, int size) { + + throw new UnsupportedOperationException("Unimplemented method 'getEffectiveAvatar'"); + } + + @Override + public boolean hasDefaultAvatar() { + + throw new UnsupportedOperationException("Unimplemented method 'hasDefaultAvatar'"); + } + + @Override + public Set getMutualServers() { + + throw new UnsupportedOperationException("Unimplemented method 'getMutualServers'"); + } + + @Override + public String getDisplayName(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getDisplayName'"); + } + + @Override + public Optional getNickname(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getNickname'"); + } + + @Override + public Optional getServerBoostingSinceTimestamp(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getServerBoostingSinceTimestamp'"); + } + + @Override + public Optional getTimeout(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getTimeout'"); + } + + @Override + public boolean isPending(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'isPending'"); + } + + @Override + public boolean isSelfMuted(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'isSelfMuted'"); + } + + @Override + public boolean isSelfDeafened(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'isSelfDeafened'"); + } + + @Override + public Optional getJoinedAtTimestamp(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getJoinedAtTimestamp'"); + } + + @Override + public List getRoles(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getRoles'"); + } + + @Override + public Optional getRoleColor(Server server) { + + throw new UnsupportedOperationException("Unimplemented method 'getRoleColor'"); + } + + @Override + public Optional getPrivateChannel() { + + throw new UnsupportedOperationException("Unimplemented method 'getPrivateChannel'"); + } + + @Override + public CompletableFuture openPrivateChannel() { + + throw new UnsupportedOperationException("Unimplemented method 'openPrivateChannel'"); + } + +}