fix(readme): update docs

This commit is contained in:
ZavaruKitsu 2022-10-08 20:01:23 +03:00
parent f9d25dfb83
commit d566cf858e

View File

@ -101,7 +101,7 @@ var bot = BotBaseBuilder
await bot.UploadBotCommands(); await bot.UploadBotCommands();
// Start your Bot // Start your Bot
bot.Start(); await bot.Start();
``` ```
The `BotBase` class will manage a lot of things for you, like bot commands, action events and so on. The `BotBase` class will manage a lot of things for you, like bot commands, action events and so on.
@ -174,7 +174,7 @@ var bot = BotBaseBuilder
.QuickStart<StartForm>("{YOUR API KEY}") .QuickStart<StartForm>("{YOUR API KEY}")
.Build(); .Build();
bot.Start(); await bot.Start();
``` ```
## Features ## Features
@ -236,7 +236,7 @@ bot.BotCommand += async (s, en) =>
await bot.UploadBotCommands() await bot.UploadBotCommands()
bot.Start(); await bot.Start();
``` ```
On every input the user is sending back to the bot, the `Action` event gets raised. So here we could manage to send On every input the user is sending back to the bot, the `Action` event gets raised. So here we could manage to send
@ -808,7 +808,7 @@ var bot = BotBaseBuilder
.UseEnglish() .UseEnglish()
.Build(); .Build();
bot.Start(); await bot.Start();
``` ```
#### JSONStateMachine #### JSONStateMachine
@ -831,7 +831,7 @@ var bot = BotBaseBuilder
.UseEnglish() .UseEnglish()
.Build(); .Build();
bot.Start(); await bot.Start();
``` ```
#### XMLStateMachine #### XMLStateMachine
@ -853,7 +853,7 @@ var bot = BotBaseBuilder
.UseEnglish() .UseEnglish()
.Build(); .Build();
bot.Start(); await bot.Start();
``` ```
### Interfaces ### Interfaces