Updating example projects for use of SingleThread/ThreadPool
This commit is contained in:
parent
75064fd64c
commit
3aff0aa94b
@ -25,6 +25,7 @@ namespace DependencyInjection
|
||||
.NoCommands()
|
||||
.NoSerialization()
|
||||
.DefaultLanguage()
|
||||
.UseSingleThread()
|
||||
.Build();
|
||||
|
||||
await bot.Start();
|
||||
|
||||
@ -18,6 +18,7 @@ var bot = BotBaseBuilder.Create()
|
||||
.NoCommands()
|
||||
.NoSerialization()
|
||||
.DefaultLanguage()
|
||||
.UseSingleThread()
|
||||
.Build();
|
||||
|
||||
await bot.Start();
|
||||
|
||||
@ -21,6 +21,7 @@ namespace InlineAndReplyCombination
|
||||
.DefaultCommands()
|
||||
.UseJSON(Path.Combine(Directory.GetCurrentDirectory(), "states.json"))
|
||||
.UseEnglish()
|
||||
.UseSingleThread()
|
||||
.Build();
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user