From 4d7fc8402b5a5ea8d4c6775784ea59bd09b02583 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Thu, 22 Dec 2016 12:16:14 +0100 Subject: [PATCH] Fixed blacklist/unblacklist message, thanks ghost --- .../Modules/Permissions/Commands/BlacklistCommands.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Permissions/Commands/BlacklistCommands.cs b/src/NadekoBot/Modules/Permissions/Commands/BlacklistCommands.cs index 2d90a2e7..af856f9b 100644 --- a/src/NadekoBot/Modules/Permissions/Commands/BlacklistCommands.cs +++ b/src/NadekoBot/Modules/Permissions/Commands/BlacklistCommands.cs @@ -105,7 +105,10 @@ namespace NadekoBot.Modules.Permissions } - await channel.SendConfirmAsync($"Blacklisted a `{type}` with id `{id}`").ConfigureAwait(false); + if(action == AddRemove.Add) + await channel.SendConfirmAsync($"Blacklisted a `{type}` with id `{id}`").ConfigureAwait(false); + else + await channel.SendConfirmAsync($"Unblacklisted a `{type}` with id `{id}`").ConfigureAwait(false); } } }