mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
wip strings rework, experimenting, nothing works
This commit is contained in:
@@ -99,7 +99,7 @@ namespace NadekoBot.Modules.Help
|
||||
.OrderBy(module => module.Name)
|
||||
.ForEach(module => embed.AddField($"{GetModuleEmoji(module.Name)} {module.Name}",
|
||||
GetText($"module_description_{module.Name.ToLowerInvariant()}") + "\n" +
|
||||
Format.Code(GetText("module_footer", Prefix, module.Name.ToLowerInvariant())),
|
||||
Format.Code(GetText(strs.module_footer, Prefix, module.Name.ToLowerInvariant())),
|
||||
true));
|
||||
|
||||
return embed;
|
||||
@@ -230,7 +230,7 @@ namespace NadekoBot.Modules.Help
|
||||
embed.AddField(g.ElementAt(i).Key, "```css\n" + string.Join("\n", transformed) + "\n```", true);
|
||||
}
|
||||
}
|
||||
embed.WithFooter(GetText("commands_instr", Prefix));
|
||||
embed.WithFooter(GetText(strs.commands_instr, Prefix));
|
||||
await ctx.Channel.EmbedAsync(embed).ConfigureAwait(false);
|
||||
}
|
||||
|
||||
|
@@ -78,7 +78,7 @@ namespace NadekoBot.Modules.Help.Services
|
||||
}
|
||||
|
||||
em
|
||||
.AddField(GetText("usage", guild),
|
||||
.AddField(_strings.GetText(strs.usage),
|
||||
string.Join("\n", Array.ConvertAll(com.RealRemarksArr(_strings, guild?.Id, prefix),
|
||||
arg => Format.Code(arg))),
|
||||
false)
|
||||
|
Reference in New Issue
Block a user