Table of Contents

Class ChannelExtensions

Namespace
DSharpPlus.Interactivity.Extensions
Assembly
DSharpPlus.Interactivity.dll

Interactivity extension methods for DiscordChannel.

public static class ChannelExtensions
Inheritance
ChannelExtensions

Methods

GetNextMessageAsync(DiscordChannel, DiscordUser, TimeSpan?)

Waits for the next message sent in this channel from a specific user.

GetNextMessageAsync(DiscordChannel, Func<DiscordMessage, bool>, TimeSpan?)

Waits for the next message sent in this channel that satisfies the predicate.

GetNextMessageAsync(DiscordChannel, TimeSpan?)

Waits for the next message sent in this channel.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationButtons, PaginationBehaviour?, ButtonPaginationBehavior?, CancellationToken)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationButtons, TimeSpan?, PaginationBehaviour?, ButtonPaginationBehavior?)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationEmojis, PaginationBehaviour?, PaginationDeletion?, TimeSpan?)

Sends a new paginated message.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, PaginationBehaviour?, ButtonPaginationBehavior?, CancellationToken)

Sends a new paginated message with buttons.

SendPaginatedMessageAsync(DiscordChannel, DiscordUser, IEnumerable<Page>, TimeSpan?, PaginationBehaviour?, ButtonPaginationBehavior?)

Sends a new paginated message with buttons.

WaitForUserTypingAsync(DiscordChannel, DiscordUser, TimeSpan?)

Waits for a specific user to start typing in this channel.