FAQ rework, replacing outdated info, better interaction FAQ (#2106)
* FAQ rework, replacing outdated info, better interaction faq * Update docs/faq/basics/getting-started.md Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com> * Update docs/faq/basics/getting-started.md Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com> * Update docs/faq/int_framework/general.md Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com> * fix TOC reference Co-authored-by: Jared L <48422312+lhjt@users.noreply.github.com> Co-authored-by: Quin Lynch <lynchquin@gmail.com>
This commit is contained in:
7
docs/faq/text_commands/samples/runmode-cmdattrib.cs
Normal file
7
docs/faq/text_commands/samples/runmode-cmdattrib.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
[Command("process", RunMode = RunMode.Async)]
|
||||
public async Task ProcessAsync(string input)
|
||||
{
|
||||
// Does heavy calculation here.
|
||||
await Task.Delay(TimeSpan.FromMinute(1));
|
||||
await ReplyAsync(input);
|
||||
}
|
||||
Reference in New Issue
Block a user