Interface DelegateFactoryDelegate



  • public interface DelegateFactoryDelegate
    This class is internally used by the DelegateFactory to create delegate instances. You usually don't want to interact with this object.
    • Method Detail

      • createDiscordApiBuilderDelegate

        DiscordApiBuilderDelegate createDiscordApiBuilderDelegate​()
        Creates a new discord api builder delegate.
        Returns:
        A new discord api builder delegate.
      • createEmbedBuilderDelegate

        EmbedBuilderDelegate createEmbedBuilderDelegate​()
        Creates a new embed builder delegate.
        Returns:
        A new embed builder delegate.
      • createAllowedMentionsBuilderDelegate

        AllowedMentionsBuilderDelegate createAllowedMentionsBuilderDelegate​()
        Creates a new mention builder delegate.
        Returns:
        A new mention builder delegate.
      • createMessageBuilderDelegate

        MessageBuilderDelegate createMessageBuilderDelegate​()
        Creates a new message builder delegate.
        Returns:
        A new message builder delegate.
      • createInteractionMessageBuilderDelegate

        InteractionMessageBuilderDelegate createInteractionMessageBuilderDelegate​()
        Creates a new interaction message builder delegate.
        Returns:
        A new interaction message builder delegate.
      • createWebhookMessageBuilderDelegate

        WebhookMessageBuilderDelegate createWebhookMessageBuilderDelegate​()
        Creates a new webhook message builder delegate.
        Returns:
        A new webhook message builder delegate.
      • createPermissionsBuilderDelegate

        PermissionsBuilderDelegate createPermissionsBuilderDelegate​()
        Creates a new permissions builder delegate.
        Returns:
        A new permissions builder delegate.
      • createPermissionsBuilderDelegate

        PermissionsBuilderDelegate createPermissionsBuilderDelegate​(Permissions permissions)
        Creates a new permissions builder delegate initialized with the given permissions.
        Parameters:
        permissions - The permissions which should be copied.
        Returns:
        A new permissions builder delegate initialized with the given permissions.
      • createChannelCategoryBuilderDelegate

        ChannelCategoryBuilderDelegate createChannelCategoryBuilderDelegate​(Server server)
        Creates a new channel category builder delegate.
        Parameters:
        server - The server of the channel category.
        Returns:
        A new channel category builder delegate.
      • createServerTextChannelBuilderDelegate

        ServerTextChannelBuilderDelegate createServerTextChannelBuilderDelegate​(Server server)
        Creates a new server text channel builder delegate.
        Parameters:
        server - The server of the server text channel.
        Returns:
        A new server text channel builder delegate.
      • createServerVoiceChannelBuilderDelegate

        ServerVoiceChannelBuilderDelegate createServerVoiceChannelBuilderDelegate​(Server server)
        Creates a new server voice channel builder delegate.
        Parameters:
        server - The server of the server voice channel.
        Returns:
        A new server voice channel builder delegate.
      • createCustomEmojiBuilderDelegate

        CustomEmojiBuilderDelegate createCustomEmojiBuilderDelegate​(Server server)
        Creates a new custom emoji builder delegate.
        Parameters:
        server - The server of the custom emoji.
        Returns:
        A new custom emoji builder delegate.
      • createWebhookBuilderDelegate

        WebhookBuilderDelegate createWebhookBuilderDelegate​(ServerTextChannel channel)
        Creates a new webhook builder delegate.
        Parameters:
        channel - The server text channel of the webhook.
        Returns:
        A new webhook builder delegate.
      • createServerBuilderDelegate

        ServerBuilderDelegate createServerBuilderDelegate​(DiscordApi api)
        Creates a new server builder delegate.
        Parameters:
        api - The discord api instance.
        Returns:
        A new server builder delegate.
      • createRoleBuilderDelegate

        RoleBuilderDelegate createRoleBuilderDelegate​(Server server)
        Creates a new role builder delegate.
        Parameters:
        server - The server for which the role should be created.
        Returns:
        A new role builder delegate.
      • createInviteBuilderDelegate

        InviteBuilderDelegate createInviteBuilderDelegate​(ServerChannel channel)
        Creates a new invite builder delegate.
        Parameters:
        channel - The channel for the invite.
        Returns:
        A new invite builder delegate.
      • createAccountUpdaterDelegate

        AccountUpdaterDelegate createAccountUpdaterDelegate​(DiscordApi api)
        Creates a new account updater delegate.
        Parameters:
        api - The discord api instance.
        Returns:
        A new account updater delegate.
      • createSlashCommandUpdaterDelegate

        SlashCommandUpdaterDelegate createSlashCommandUpdaterDelegate​(long commandId)
        Creates a new slash command updater delegate.
        Parameters:
        commandId - The slash command id.
        Returns:
        A new slash command updater delegate.
      • createGroupChannelUpdaterDelegate

        GroupChannelUpdaterDelegate createGroupChannelUpdaterDelegate​(GroupChannel channel)
        Creates a new group channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new group channel updater delegate.
      • createServerChannelUpdaterDelegate

        ServerChannelUpdaterDelegate createServerChannelUpdaterDelegate​(ServerChannel channel)
        Creates a new server channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server channel updater delegate.
      • createServerTextChannelUpdaterDelegate

        ServerTextChannelUpdaterDelegate createServerTextChannelUpdaterDelegate​(ServerTextChannel channel)
        Creates a new server text channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server text channel updater delegate.
      • createServerVoiceChannelUpdaterDelegate

        ServerVoiceChannelUpdaterDelegate createServerVoiceChannelUpdaterDelegate​(ServerVoiceChannel channel)
        Creates a new server voice channel updater delegate.
        Parameters:
        channel - The channel to update.
        Returns:
        A new server voice channel updater delegate.
      • createCustomEmojiUpdaterDelegate

        CustomEmojiUpdaterDelegate createCustomEmojiUpdaterDelegate​(KnownCustomEmoji emoji)
        Creates a new custom emoji updater delegate.
        Parameters:
        emoji - The custom emoji to update.
        Returns:
        A new custom emoji updater delegate.
      • createRoleUpdaterDelegate

        RoleUpdaterDelegate createRoleUpdaterDelegate​(Role role)
        Creates a new role updater delegate.
        Parameters:
        role - The role to update.
        Returns:
        A new role updater delegate.
      • createServerUpdaterDelegate

        ServerUpdaterDelegate createServerUpdaterDelegate​(Server server)
        Creates a new server updater delegate.
        Parameters:
        server - The server to update.
        Returns:
        A new server updater delegate.
      • createWebhookUpdaterDelegate

        WebhookUpdaterDelegate createWebhookUpdaterDelegate​(Webhook webhook)
        Creates a new webhook updater delegate.
        Parameters:
        webhook - The webhook to update.
        Returns:
        A new webhook updater delegate.
      • createAudioSourceBaseDelegate

        AudioSourceBaseDelegate createAudioSourceBaseDelegate​(DiscordApi api)
        Creates a new audio source base delegate.
        Parameters:
        api - The discord api instance.
        Returns:
        A new audio source base delegate.
      • createExceptionLoggerDelegate

        ExceptionLoggerDelegate createExceptionLoggerDelegate​()
        Creates a new exception logger delegate.
        Returns:
        A new exception logger delegate.
      • createDiscordExceptionValidator

        DiscordExceptionValidator createDiscordExceptionValidator​()
        Creates a new discord exception validator.
        Returns:
        A new discord exception validator.
      • createSlashCommandBuilderDelegate

        SlashCommandBuilderDelegate createSlashCommandBuilderDelegate​()
        Creates a new slash command builder delegate.
        Returns:
        The slash command builder delegate.
      • createSlashCommandOptionBuilderDelegate

        SlashCommandOptionBuilderDelegate createSlashCommandOptionBuilderDelegate​()
        Creates a new slash command option builder delegate.
        Returns:
        The slash command option builder delegate.
      • createSlashCommandPermissionsUpdaterDelegate

        SlashCommandPermissionsUpdaterDelegate createSlashCommandPermissionsUpdaterDelegate​(Server server)
        Creates a new slash command permissions updater delegate.
        Parameters:
        server - The server where the update should be performed on.
        Returns:
        The slash command permissions updater delegate.
      • createSlashCommandPermissionsBuilderDelegate

        SlashCommandPermissionsBuilderDelegate createSlashCommandPermissionsBuilderDelegate​()
        Creates a new slash command permissions builder delegate.
        Returns:
        The slash command permissions builder delegate.
      • createSlashCommandOptionChoiceBuilderDelegate

        SlashCommandOptionChoiceBuilderDelegate createSlashCommandOptionChoiceBuilderDelegate​()
        Creates a new slash command option choice builder delegate.
        Returns:
        The slash command option choice builder delegate.
      • createActionRowBuilderDelegate

        ActionRowBuilderDelegate createActionRowBuilderDelegate​()
        Creates a new ActionRow builder delegate.
        Returns:
        A new ActionRow builder delegate.
      • createButtonBuilderDelegate

        ButtonBuilderDelegate createButtonBuilderDelegate​()
        Creates a new Button builder delegate.
        Returns:
        A new Button builder delegate.
      • createSelectMenuBuilderDelegate

        SelectMenuBuilderDelegate createSelectMenuBuilderDelegate​()
        Creates a new select menu builder delegate.
        Returns:
        A new select menu builder delegate.
      • createSelectMenuOptionBuilderDelegate

        SelectMenuOptionBuilderDelegate createSelectMenuOptionBuilderDelegate​()
        Creates a new select menu option builder delegate.
        Returns:
        A new select menu option builder delegate.