Skip to content

4.x: (Docs) Add call requirements for method calls. #2081

@csmir

Description

@csmir

Adding remarks on functions that require specific permissions to assist developers:

i.e:

        /// <summary>
        ///     ...
        /// </summary>
        /// <remarks>
        ///     Intents:
        ///         <see cref="GatewayIntents.GuildMembers"/>
        ///     
        ///     Permissions:
        ///         <see cref="GuildPermission.DeafenMembers"/>
        /// </remarks>
        /// <returns>...</returns>

This example does not make sense, it is just proof of concept.

If this should be present inside the summary or remarks is still up for discussion.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Planned

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions