userjoined improvements, feathub#135
This commit is contained in:
parent
c7e7b18b7b
commit
9abf2f15bf
@ -711,8 +711,10 @@ namespace NadekoBot.Modules.Administration.Services
|
||||
var embed = new EmbedBuilder()
|
||||
.WithOkColor()
|
||||
.WithTitle("✅ " + GetText(logChannel.Guild, "user_joined"))
|
||||
.WithDescription($"{usr}")
|
||||
.WithDescription($"{usr.Mention} `{usr}`")
|
||||
.AddField(efb => efb.WithName("Id").WithValue(usr.Id.ToString()))
|
||||
.AddField(fb => fb.WithName(GetText(logChannel.Guild, "joined_server")).WithValue($"{usr.JoinedAt?.ToString("dd.MM.yyyy HH:mm") ?? "?"}").WithIsInline(true))
|
||||
.AddField(fb => fb.WithName(GetText(logChannel.Guild, "joined_discord")).WithValue($"{usr.CreatedAt:dd.MM.yyyy HH:mm}").WithIsInline(true))
|
||||
.WithFooter(efb => efb.WithText(CurrentTime(usr.Guild)));
|
||||
|
||||
if (Uri.IsWellFormedUriString(usr.GetAvatarUrl(), UriKind.Absolute))
|
||||
|
@ -589,6 +589,8 @@
|
||||
"utility_invalid_value": "Invalid {0} value.",
|
||||
"utility_joined_discord": "Joined Discord",
|
||||
"utility_joined_server": "Joined server",
|
||||
"administration_joined_discord": "Joined Discord",
|
||||
"administration_joined_server": "Joined server",
|
||||
"utility_listservers": "ID: {0}\nMembers: {1}\nOwner ID: {2}",
|
||||
"utility_listservers_none": "No servers found on that page.",
|
||||
"utility_list_of_repeaters": "List of repeater",
|
||||
|
Loading…
Reference in New Issue
Block a user