From d39d65c823949bf127b119ca4557db10c0b75240 Mon Sep 17 00:00:00 2001 From: Ronny Gunawan <3048897+ronnygunawan@users.noreply.github.com> Date: Mon, 1 Jan 2024 10:06:31 +0700 Subject: [PATCH] Add /start as an alias to /privilege --- BotNet.CommandHandlers/BotUpdate/Message/SlashCommandHandler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BotNet.CommandHandlers/BotUpdate/Message/SlashCommandHandler.cs b/BotNet.CommandHandlers/BotUpdate/Message/SlashCommandHandler.cs index 4b728ce..4f76ff1 100644 --- a/BotNet.CommandHandlers/BotUpdate/Message/SlashCommandHandler.cs +++ b/BotNet.CommandHandlers/BotUpdate/Message/SlashCommandHandler.cs @@ -103,6 +103,7 @@ await _commandQueue.DispatchAsync( await _commandQueue.DispatchAsync(WeatherCommand.FromSlashCommand(command)); break; case "/privilege": + case "/start": await _commandQueue.DispatchAsync(PrivilegeCommand.FromSlashCommand(command)); break; }