mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-05-05 13:36:30 +03:00
ill return to that later
Signed-off-by: Macintosh II <mctaylxrs@outlook.com>
This commit is contained in:
parent
111ba33433
commit
3dbd0646fb
3 changed files with 3 additions and 3 deletions
|
@ -601,6 +601,6 @@
|
||||||
<value>Все настройки были сброшены</value>
|
<value>Все настройки были сброшены</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="DescriptionActionJumpToMessage" xml:space="preserve">
|
<data name="DescriptionActionJumpToMessage" xml:space="preserve">
|
||||||
<value>Открыть сообщение: {0}</value>
|
<value>Перейти к сообщению: {0}</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|
|
@ -95,8 +95,7 @@ public class AboutCommandGroup : CommandGroup
|
||||||
builder.AppendLine($"- {tag} — {$"AboutDeveloper@{Developers[i]}".Localized()}");
|
builder.AppendLine($"- {tag} — {$"AboutDeveloper@{Developers[i]}".Localized()}");
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.Append("### [").Append(Messages.AboutTitleRepository)
|
builder.Append($"### [{Messages.AboutTitleRepository}](https://github.com/LabsDevelopment/Boyfriend)");
|
||||||
.Append("](https://github.com/LabsDevelopment/Boyfriend)");
|
|
||||||
|
|
||||||
var embed = new EmbedBuilder().WithSmallTitle(Messages.AboutBot, currentUser)
|
var embed = new EmbedBuilder().WithSmallTitle(Messages.AboutBot, currentUser)
|
||||||
.WithDescription(builder.ToString())
|
.WithDescription(builder.ToString())
|
||||||
|
|
|
@ -23,6 +23,7 @@ public static class Extensions
|
||||||
/// <param name="builder">The builder to add the footer to.</param>
|
/// <param name="builder">The builder to add the footer to.</param>
|
||||||
/// <param name="user">The user whose tag and avatar to add.</param>
|
/// <param name="user">The user whose tag and avatar to add.</param>
|
||||||
/// <returns>The builder with the added footer.</returns>
|
/// <returns>The builder with the added footer.</returns>
|
||||||
|
// ReSharper disable once UnusedMember.Global
|
||||||
public static EmbedBuilder WithUserFooter(this EmbedBuilder builder, IUser user)
|
public static EmbedBuilder WithUserFooter(this EmbedBuilder builder, IUser user)
|
||||||
{
|
{
|
||||||
var avatarUrlResult = CDN.GetUserAvatarUrl(user, imageSize: 256);
|
var avatarUrlResult = CDN.GetUserAvatarUrl(user, imageSize: 256);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue