Interface Messageable

    • Method Detail

      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed,
                                                       boolean tts,
                                                       String nonce,
                                                       InputStream stream,
                                                       String fileName)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        tts - Whether the message should be "text to speech" or not.
        nonce - The nonce of the message.
        stream - The stream for the file to send.
        fileName - The name of the file.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed,
                                                       boolean tts,
                                                       String nonce,
                                                       File... files)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        tts - Whether the message should be "text to speech" or not.
        nonce - The nonce of the message.
        files - The file(s) to send.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed,
                                                       boolean tts,
                                                       String nonce)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        tts - Whether the message should be "text to speech" or not.
        nonce - The nonce of the message.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content)
        Sends a message.
        Parameters:
        content - The content of the message.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(EmbedBuilder embed)
        Sends a message.
        Parameters:
        embed - The embed which should be displayed.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(File... files)
        Sends a message.
        Parameters:
        files - The file(s) to send.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(InputStream stream,
                                                       String fileName)
        Sends a message.
        Parameters:
        stream - The stream for the file to send.
        fileName - The name of the file.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       File... files)
        Sends a message.
        Parameters:
        content - The content of the message.
        files - The file(s) to send.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       InputStream stream,
                                                       String fileName)
        Sends a message.
        Parameters:
        content - The content of the message.
        stream - The stream for the file to send.
        fileName - The name of the file.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(EmbedBuilder embed,
                                                       File... files)
        Sends a message.
        Parameters:
        embed - The embed which should be displayed.
        files - The file(s) to send.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(EmbedBuilder embed,
                                                       InputStream stream,
                                                       String fileName)
        Sends a message.
        Parameters:
        embed - The embed which should be displayed.
        stream - The stream for the file to send.
        fileName - The name of the file.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed,
                                                       File... files)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        files - The file(s) to send.
        Returns:
        The sent message.
      • sendMessage

        default CompletableFuture<Message> sendMessage​(String content,
                                                       EmbedBuilder embed,
                                                       InputStream stream,
                                                       String fileName)
        Sends a message.
        Parameters:
        content - The content of the message.
        embed - The embed which should be displayed.
        stream - The stream for the file to send.
        fileName - The name of the file.
        Returns:
        The sent message.