Fix fun commands can block handler chain execution.

This commit is contained in:
West14
2022-01-03 22:14:59 +02:00
parent 9f108d5021
commit 0c943300bb
3 changed files with 11 additions and 10 deletions
+2 -4
View File
@@ -25,14 +25,12 @@ namespace West.Entertainment.Handler.Fun
=> await HandleSetAnimation();
[Message(InChat.Public, MessageFlag.HasText)]
public override async Task<bool> HandleAnimation()
public async Task HandleBayan()
{
if (await base.HandleAnimation())
if (await HandleAnimation())
{
await Bot.DeleteMessageAsync(Chat.Id, Message!.MessageId);
}
return true;
}
protected override int? GetMessageIdToReply()