diff --git a/docs/guides/commands/commands.md b/docs/guides/commands/commands.md index 86aec8017..6781764c9 100644 --- a/docs/guides/commands/commands.md +++ b/docs/guides/commands/commands.md @@ -224,7 +224,7 @@ Any publicly settable properties will also be filled in the same manner. >[!NOTE] -> Annotating a property with a `[DontInject]` attribute will prevent the +> Annotating a property with a [DontInjectAttribute] attribute will prevent the property from being injected. >[!NOTE] @@ -235,6 +235,8 @@ the `ServiceProvider` that is passed into it respectively. [!code-csharp[ServiceProvider in Modules](samples/dependency_module.cs)] +[DontInjectAttribute]: xref:Discord.Commands.DontInjectAttribute + # Preconditions Precondition serve as a permissions system for your Commands. Keep in