Package io.facet.common
Types
A handler for common operations related to an interaction followup response.
Functions
Creates and launches a new coroutine, which launches an actor coroutine and forwards gateway events of the specified type to it's ReceiveChannel.
Suspends the current coroutine, and returns when the Flux completes.
Awaits for the single value from the given Mono, suspending the current coroutine and resuming when the mono emits the resulting value or throws the corresponding exception if this publisher had produced error.
Awaits for the completion signal from the given Mono, suspending the current coroutine and resuming when the mono emits the resulting value or throws the corresponding exception if this publisher had produced error.
Awaits for the completion signal from the given Mono, suspending the current coroutine and resuming when the mono emits the resulting value or throws the corresponding exception if this publisher had produced error.
Awaits for the single value from the given Mono or null value if none is emitted, suspending the current coroutine and resuming when the mono returns the resulting value or throws the corresponding exception if this publisher had produced error.
Gets ALL distinct Member mentions, including users specifically mentioned as well as users mentioned in roles.
Gets ALL distinct User mentions, including users specifically mentioned as well as users mentioned in roles.
Gets the Snowflake ids of the members currently connected to this voice channel by requesting the VoiceStates of this channel.
Gets the members currently connected to this voice channel by requesting the VoiceStates of this channel.
Gets the VoiceChannel that our user is connected to in this Guild.
Gets the VoiceChannel that the member is currently connected to, if present.
Gets the members with this role by requesting the members of this guild and filtering by this role's Snowflake ID.
Gets the VoiceState of our user in this Guild.
Returns the first VoiceChannel found with the specified name.
Creates and launches a new coroutine, which listens to the specified Event type and calls the block function whenever a new event of that type is received by the gateway.
Sends a Message with an embed as a reply to the receiver, building the embed from the specified EmbedCreateSpec.
Sends a Message as a reply to the receiver, building the message from the specified MessageCreateSpec.
Sends a Message as a reply to the receiver, building the message from the specified MessageBuilder.
Sends a Message as a reply to the receiver, building the message from the specified content.
Sends a Message with an embed as a reply to the receiver, building the embed from the specified EmbedBuilder.
Sends an embed in the specified channel based on the EmbedCreateSpec.
Builds an EmbedCreateSpec and sends it in the specified channel.
Create and send a new followup message containing an embed built from the specified builder. This uses a webhook tied to the interaction ID and token.
Create and send a new ephemeral followup message containing an embed built from the specified builder. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message containing an embed from the specified EmbedCreateSpec. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message using the provided WebhookExecuteSpec. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message, using the WebhookMessageBuilder to build the request. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message with the provided content. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message containing an embed from the specified spec. This uses a webhook tied to the interaction ID and token.
Create and send a new followup message, using the builder to build the request. This uses a webhook tied to the interaction ID and token.
Create and send a new ephemeral followup message containing an embed from the specified spec. This uses a webhook tied to the interaction ID and token.
Create and send a new ephemeral followup message, using the builder to build the request. This uses a webhook tied to the interaction ID and token.
Sends a message in the specified channel based on the MessageCreateSpec.
Sends a message with an embed in the specified channel based on the EmbedCreateSpec.
Builds a MessageCreateSpec and sends it in the specified channel.
Builds a message spec with only content and sends it in the specified channel.
Properties
Returns a flow that emits all members mentioned on this message.
Gets ALL distinct User mentions, including users specifically mentioned as well as users mentioned in roles.
Gets the members currently connected to this VoiceChannel by requesting the VoiceStates of this guild and filtering by this channel's Snowflake ID.