|
@@ -137,7 +137,7 @@ namespace EthermineBotTelegram
|
|
|
|
|
|
// send help
|
|
|
case "/help":
|
|
|
- //await SendHelp();
|
|
|
+ await SendHelp(e.Message.Chat);
|
|
|
break;
|
|
|
|
|
|
default:
|
|
@@ -581,5 +581,20 @@ namespace EthermineBotTelegram
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ public static async Task SendHelp(Chat e)
|
|
|
+ {
|
|
|
+ await botClient.SendTextMessageAsync(
|
|
|
+ chatId: e,
|
|
|
+ text: $"This is bot tracks your miner stats and calculates unpaid per worker.\n"
|
|
|
+ + $"How to start:\n"
|
|
|
+ + $"1) \"/start\" - it will add you to database\n"
|
|
|
+ + $"2) \"/setwallet <wallet>\" - it will set wallet for tracking, bot will start to add info about your miner and workers to database\n"
|
|
|
+ + $"3) \"/actual\" - it will send you up to date data about your worker\n"
|
|
|
+ + $"4) \"/stop\" - it will clear all data about you from database\n"
|
|
|
+ + $"Additional commands:\n"
|
|
|
+ + $"\"/rate\" - get actual ETH and BTC rate from ethermine\n"
|
|
|
+ + $"\"/actual <wallet>\" - get up to date data about any wallet without unpaid per worker\n");
|
|
|
+ }
|
|
|
}
|
|
|
}
|