diff --git a/modules/Entertainment/Handler/Fun/Bayan.cs b/modules/Entertainment/Handler/Fun/Bayan.cs index 50a036c..e3cc91a 100644 --- a/modules/Entertainment/Handler/Fun/Bayan.cs +++ b/modules/Entertainment/Handler/Fun/Bayan.cs @@ -25,14 +25,12 @@ namespace West.Entertainment.Handler.Fun => await HandleSetAnimation(); [Message(InChat.Public, MessageFlag.HasText)] - public override async Task 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() diff --git a/modules/Entertainment/Handler/Fun/JavaScript.cs b/modules/Entertainment/Handler/Fun/JavaScript.cs index 31dc912..e86ebeb 100644 --- a/modules/Entertainment/Handler/Fun/JavaScript.cs +++ b/modules/Entertainment/Handler/Fun/JavaScript.cs @@ -20,9 +20,11 @@ namespace West.Entertainment.Handler.Fun [Command(InChat.Public, "setjs", CommandParseMode.Both)] public async Task HandleSetJs() => await HandleSetAnimation(); - + [Message(InChat.Public, MessageFlag.HasText)] - public override async Task HandleAnimation() - => await base.HandleAnimation(); + public async Task HandleJs() + { + await HandleAnimation(); + } } } \ No newline at end of file diff --git a/modules/Entertainment/Handler/Fun/Python.cs b/modules/Entertainment/Handler/Fun/Python.cs index fbc2870..4014a0a 100644 --- a/modules/Entertainment/Handler/Fun/Python.cs +++ b/modules/Entertainment/Handler/Fun/Python.cs @@ -23,9 +23,10 @@ namespace West.Entertainment.Handler.Fun => await HandleSetAnimation(); [Message(InChat.Public, MessageFlag.HasText)] - public override async Task HandleAnimation() - => await base.HandleAnimation(); - + public async Task HandlePython() + { + await HandleAnimation(); + } public Python(CoreContext db, ILogger logger) : base(db, logger) { } }