mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -1320,7 +1320,12 @@ namespace ArchiSteamFarm {
|
||||
return;
|
||||
}
|
||||
|
||||
SendMessage(chatID, await Response(steamID, message).ConfigureAwait(false));
|
||||
string response = await Response(steamID, message).ConfigureAwait(false);
|
||||
if (string.IsNullOrEmpty(response)) { // We respond with null when user is not authorized (and similar)
|
||||
return;
|
||||
}
|
||||
|
||||
SendMessage(chatID, response);
|
||||
}
|
||||
|
||||
private void SendMessage(ulong steamID, string message) {
|
||||
|
||||
Reference in New Issue
Block a user