mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[entertainment] remove unused CanPunish method
This commit is contained in:
@@ -100,11 +100,6 @@ namespace West.Entertainment.Handler.Fun
|
||||
{
|
||||
return await _db.UserValues.FindOrCreateOption(Chat.Id, $"{GetAnimationName()}NextUse");
|
||||
}
|
||||
|
||||
private async Task<bool> CanPunish()
|
||||
{
|
||||
return RepliedUser != null && await Bot.CanPunishMember(Chat, From, RepliedUser);
|
||||
}
|
||||
|
||||
protected virtual int? GetMessageIdToReply() => Message?.MessageId;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user