Skip to content

Commit

Permalink
add fun
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed May 15, 2024
1 parent bd0a1f6 commit 022b8df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static async Task HandleUpdateAsync(ITelegramBotClient botClient, Update update,
Console.WriteLine($"Received a '{messageText}' message in chat {chatId}.");

// check for command
if (messageText.StartsWith("/build"))
if (messageText.StartsWith("/build") || messageText.StartsWith("/barnabas"))
{
string[] msgSegments = messageText.Split(' ');
if (msgSegments.Length < 2)
Expand Down

0 comments on commit 022b8df

Please sign in to comment.