Updating example projects for use of SingleThread/ThreadPool

This commit is contained in:
Florian Zevedei 2024-01-04 14:16:52 +01:00
parent 75064fd64c
commit 3aff0aa94b
3 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,7 @@ namespace DependencyInjection
.NoCommands()
.NoSerialization()
.DefaultLanguage()
.UseSingleThread()
.Build();
await bot.Start();

View File

@ -18,6 +18,7 @@ var bot = BotBaseBuilder.Create()
.NoCommands()
.NoSerialization()
.DefaultLanguage()
.UseSingleThread()
.Build();
await bot.Start();

View File

@ -21,6 +21,7 @@ namespace InlineAndReplyCombination
.DefaultCommands()
.UseJSON(Path.Combine(Directory.GetCurrentDirectory(), "states.json"))
.UseEnglish()
.UseSingleThread()
.Build();