Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

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

Open csmir opened this issue 3 years ago • 0 comments

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.

csmir avatar Feb 03 '22 20:02 csmir