From 3afb555f24bcc289b78422bb9a2c44ae511f9b5b Mon Sep 17 00:00:00 2001 From: Cenngo Date: Sat, 26 Mar 2022 19:05:41 +0300 Subject: [PATCH] add inline docs --- src/Discord.Net.Commands/CommandService.cs | 4 ++++ .../InteractionService.cs | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/src/Discord.Net.Commands/CommandService.cs b/src/Discord.Net.Commands/CommandService.cs index ab381ee5a..57e0e430e 100644 --- a/src/Discord.Net.Commands/CommandService.cs +++ b/src/Discord.Net.Commands/CommandService.cs @@ -407,6 +407,10 @@ namespace Discord.Commands /// /// Removes a type reader from the list of type readers. /// + /// + /// Removing a from the will not dereference the from the loaded module/command instances. + /// You need to reload the modules for the changes to take effect. + /// /// The type to remove the readers from. /// if the default readers for should be removed; otherwise . /// The removed collection of type readers. diff --git a/src/Discord.Net.Interactions/InteractionService.cs b/src/Discord.Net.Interactions/InteractionService.cs index c3c0a498b..deb6fa931 100644 --- a/src/Discord.Net.Interactions/InteractionService.cs +++ b/src/Discord.Net.Interactions/InteractionService.cs @@ -917,6 +917,10 @@ namespace Discord.Interactions /// /// Removes a type reader for the given type. /// + /// + /// Removing a from the will not dereference the from the loaded module/command instances. + /// You need to reload the modules for the changes to take effect. + /// /// The type to remove the reader from. /// The reader if the resulting remove operation was successful. /// if the remove operation was successful; otherwise . @@ -926,6 +930,10 @@ namespace Discord.Interactions /// /// Removes a generic type reader from the type . /// + /// + /// Removing a from the will not dereference the from the loaded module/command instances. + /// You need to reload the modules for the changes to take effect. + /// /// The type to remove the readers from. /// The removed readers type. /// if the remove operation was successful; otherwise . @@ -935,6 +943,10 @@ namespace Discord.Interactions /// /// Removes a generic type reader from the given type. /// + /// + /// Removing a from the will not dereference the from the loaded module/command instances. + /// You need to reload the modules for the changes to take effect. + /// /// The type to remove the reader from. /// The readers type if the remove operation was successful. /// if the remove operation was successful; otherwise . @@ -944,6 +956,10 @@ namespace Discord.Interactions /// /// Serialize an object using a into a to be placed in a Component CustomId. /// + /// + /// Removing a from the will not dereference the from the loaded module/command instances. + /// You need to reload the modules for the changes to take effect. + /// /// Type of the object to be serialized. /// Object to be serialized. /// Services that will be passed on to the .