Table of Contents

Method AddInteractivityExtension

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

AddInteractivityExtension(IServiceCollection, InteractivityConfiguration?)

Adds interactivity to the present service collection.

public static IServiceCollection AddInteractivityExtension(this IServiceCollection services, InteractivityConfiguration? configuration = null)

Parameters

services IServiceCollection

The service collection to enable interactivity for.

configuration InteractivityConfiguration

A configuration instance. Default configuration values will be used if none is provided.

Returns

IServiceCollection

The service collection for chaining.