Ignore messages likely not meant for us

This commit is contained in:
Laura Hausmann 2023-01-09 15:14:18 +01:00
parent 6b26effc29
commit bd1aa88a88
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -103,6 +103,10 @@ async Task BotOnMessageReceived(ITelegramBotClient botClient, Message message) {
}
}
}
else {
// likely not a message meant for us
return;
}
}
switch (command) {