Simplifying BotBuilder BotCommands

- Simplifying BotBuilder BotCommands
- updating test project
This commit is contained in:
FlorianDahn
2022-01-05 01:16:22 +02:00
parent ca1c382924
commit b65ec13d8b
3 changed files with 23 additions and 12 deletions
+3 -3
View File
@@ -144,9 +144,9 @@ namespace TelegramBotBase.Builder
public ISessionSerializationStage DefaultCommands()
{
_botcommands.AddStartCommand("Starts the bot");
_botcommands.AddHelpCommand("Should show you some help");
_botcommands.AddSettingsCommand("Should show you some settings");
_botcommands.Start("Starts the bot");
_botcommands.Help("Should show you some help");
_botcommands.Settings("Should show you some settings");
return this;
}