merged docs

This commit is contained in:
Kwoth
2016-10-21 16:42:25 +02:00
8 changed files with 199 additions and 290 deletions

View File

@ -110,7 +110,7 @@ namespace NadekoBot.Modules.Permissions
using (var uow = DbHandler.UnitOfWork())
{
var perms = uow.GuildConfigs.PermissionsFor(channel.Guild.Id).RootPermission;
var i = 1;
var i = 1 + 20 * (page - 1);
toSend = Format.Code($"Permissions page {page}") + "\n\n" + String.Join("\n", perms.AsEnumerable().Skip((page - 1) * 20).Take(20).Select(p => $"`{(i++)}.` {(p.Next == null ? Format.Bold(p.GetCommand(channel.Guild) + " [uneditable]") : (p.GetCommand(channel.Guild)))}"));
}

View File

@ -2332,7 +2332,7 @@
<value>allusrmdls aum</value>
</data>
<data name="moveperm_desc" xml:space="preserve">
<value>Moves permission from one position to another.</value>
<value>Moves permission from one position to another in Permissions list.</value>
</data>
<data name="moveperm_usage" xml:space="preserve">
<value>`{0}mp 2 4`</value>
@ -2341,7 +2341,7 @@
<value>moveperm mp</value>
</data>
<data name="removeperm_desc" xml:space="preserve">
<value>Removes a permission from a given position</value>
<value>Removes a permission from a given position in Permissions list.</value>
</data>
<data name="removeperm_usage" xml:space="preserve">
<value>`{0}rp 1`</value>
@ -2484,4 +2484,4 @@
<data name="setstream_usage" xml:space="preserve">
<value>`{0}setstream https://www.twitch.tv/masterkwoth Developing Nakedo`</value>
</data>
</root>
</root>