---
uid: Discord.Commands.PreconditionAttribute
seealso:
    - linkId: Discord.Commands.ParameterPreconditionAttribute
remarks: *content
---

This precondition attribute can be applied on module-level or
method-level for a command.

[!include[Remarks(PreconditionAttribute.Remarks.Inclusion.md)]]

---
uid: Discord.Commands.ParameterPreconditionAttribute
seealso:
    - linkId: Discord.Commands.PreconditionAttribute
remarks: *content
---

This precondition attribute can be applied on parameter-level for a
command.

[!include[Remarks(PreconditionAttribute.Remarks.Inclusion.md)]]

---
uid: Discord.Commands.PreconditionAttribute
example: [*content]
---

// todo: add example