mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Add autocleanup for Guess and Roll handlers
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Kruzya.TelegramBot.Core
|
||||
Db = db;
|
||||
}
|
||||
|
||||
protected async Task<Message> Reply(string text)
|
||||
protected virtual async Task<Message> Reply(string text)
|
||||
{
|
||||
return await Bot.SendTextMessageAsync(Chat.Id, text,
|
||||
replyToMessageId: Message?.MessageId, parseMode: ParseMode.Html);
|
||||
|
||||
Reference in New Issue
Block a user