Get Started
| Product | Versions |
|---|---|
| .NET |
README
Discord.Net.Extensions.Interactions
An extension that provides additional functionality to Discord.Net.Interactions package.
Installation
Features
Examples
Guild-only commands
Commands modules that inherit from InteractionModuleBase can be marked with a [GuildModule] attribute to register them only to guilds with provided ids, while all other modules will be registered globally.
[GuildModule(123456, 69696969, 1337)]
public class ExampleModule : InteractionModuleBase<SocketInteractionContext>
{
}
interactionServiceRegisterCommandsAsync extension method has to be used to register commands.
await interactionService.RegisterCommandsAsync();
Support
Still have questions or want to request a feature? Contact me in Discord.Net discord server
Downloads by Version
Depended On By
Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.