Fix message when a role has been added to the whitelist

This commit is contained in:
runebaas 2019-10-11 00:55:55 +02:00
parent 19df65fc76
commit b7b4a600cd
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6

View file

@ -133,7 +133,7 @@ namespace Geekbot.net.Commands.Admin
WhiteListName = roleName WhiteListName = roleName
}); });
await _database.SaveChangesAsync(); await _database.SaveChangesAsync();
await ReplyAsync(transContext.GetString("CannotAddDangerousRole", role.Name)); await ReplyAsync(transContext.GetString("AddedRoleToWhitelist", role.Name));
} }
catch (Exception e) catch (Exception e)
{ {