mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Update to Telegram Bot Framework 2.0
This commit is contained in:
@@ -28,7 +28,8 @@ namespace West.Entertainment.Handler
|
||||
_userService = userService;
|
||||
}
|
||||
|
||||
[Command(InChat.Public, "cooldowns", CommandParseMode.Both)]
|
||||
[InChat(InChat.Public)]
|
||||
[Command("cooldowns", CommandParseMode.Both)]
|
||||
public async Task HandleCooldowns()
|
||||
{
|
||||
if (!_userService.IsUserSuper(From))
|
||||
|
||||
Reference in New Issue
Block a user