Fix priority for General Handler

This commit is contained in:
2022-01-23 02:08:31 +03:00
parent 652c4e8466
commit 41b49370f9
+1 -1
View File
@@ -29,7 +29,7 @@ namespace Kruzya.TelegramBot.Core
} }
[HandleEverything] [HandleEverything]
[Priority(-10)] [Priority(short.MaxValue - 10)]
public async Task<bool> Listener() public async Task<bool> Listener()
{ {
foreach (var message in new Message[] {RawUpdate.Message, RawUpdate.EditedMessage, RawUpdate.ChannelPost, RawUpdate.EditedChannelPost}) foreach (var message in new Message[] {RawUpdate.Message, RawUpdate.EditedMessage, RawUpdate.ChannelPost, RawUpdate.EditedChannelPost})