docs: 2020 April Documentation Maintenance (#1484)
* Add doc page for Named Arguments * Implement minor stylistic changes * Update docfx.json to support NS2.0 Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Fix broken xref in basic-operations * Fix broken crefs * Fix wordings in named argument * Fix misleading warning about long-running code * Fix misleading CommandService summary Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Update copyright year and version Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Escape example captions * Add warning regarding FlattenAsync for GetReactionUsersAsync * Fix a minor grammar mistake Co-authored-by: Joe4evr <jii.geugten@gmail.com>
This commit is contained in:
@@ -71,11 +71,11 @@ By now, your module should look like this:
|
||||
|
||||
> [!WARNING]
|
||||
> **Avoid using long-running code** in your modules wherever possible.
|
||||
> You should **not** be implementing very much logic into your
|
||||
> modules, instead, outsource to a service for that.
|
||||
> Long-running code, by default, within a command module
|
||||
> can cause gateway thread to be blocked; therefore, interrupting
|
||||
> the bot's connection to Discord.
|
||||
>
|
||||
> If you are unfamiliar with Inversion of Control, it is recommended
|
||||
> to read the MSDN article on [IoC] and [Dependency Injection].
|
||||
> You may read more about it in @FAQ.Commands.General .
|
||||
|
||||
The next step to creating commands is actually creating the commands.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user