From 1fd4752c0ef44d372d61c394ab7104ff0f7a62d0 Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Tue, 2 Mar 2021 15:25:35 +0100 Subject: [PATCH] Slash fix --- TelegramBotBase/Commands/Extensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TelegramBotBase/Commands/Extensions.cs b/TelegramBotBase/Commands/Extensions.cs index 47b415e..b866439 100644 --- a/TelegramBotBase/Commands/Extensions.cs +++ b/TelegramBotBase/Commands/Extensions.cs @@ -14,7 +14,7 @@ namespace TelegramBotBase.Commands /// public static void AddStartCommand(this List cmds, String description) { - cmds.Add(new BotCommand() { Command = "/start", Description = description }); + cmds.Add(new BotCommand() { Command = "start", Description = description }); } /// @@ -24,7 +24,7 @@ namespace TelegramBotBase.Commands /// public static void AddHelpCommand(this List cmds, String description) { - cmds.Add(new BotCommand() { Command = "/help", Description = description }); + cmds.Add(new BotCommand() { Command = "help", Description = description }); } /// @@ -34,7 +34,7 @@ namespace TelegramBotBase.Commands /// public static void AddSettingsCommand(this List cmds, String description) { - cmds.Add(new BotCommand() { Command = "/settings", Description = description }); + cmds.Add(new BotCommand() { Command = "settings", Description = description }); } } }