diff --git a/Dummy/Commands/CommandDummyExecute.cs b/Dummy/Commands/CommandDummyExecute.cs index 0ed3e77..1bf29b3 100644 --- a/Dummy/Commands/CommandDummyExecute.cs +++ b/Dummy/Commands/CommandDummyExecute.cs @@ -60,7 +60,7 @@ protected override async Task OnExecuteAsync() var commandContext = await m_CommandExecutor.ExecuteAsync(new UnturnedUser(m_UserDataStore, dummy), Context.Parameters.Skip(1).ToArray(), ""); await PrintAsync($"Dummy has {(commandContext.Exception == null ? "successfully" : "unsuccessfully")} executed command"); - if (commandContext.Exception != null) + if (commandContext.Exception != null && !(commandContext.Exception is UserFriendlyException)) { await PrintAsync(commandContext.Exception.Message, Color.Red); }