refactor: Downgrade to stable & use AddEmbed over WithEmbed
This commit is contained in:
parent
4705cb5f26
commit
2e73d66dc2
53 changed files with 190 additions and 179 deletions
|
|
@ -189,7 +189,7 @@ internal sealed class UserInfoCommand : BaseCommand
|
|||
if (bMember is not null && bMember.CommunicationDisabledUntil.HasValue && bMember.CommunicationDisabledUntil.Value.GetTotalSecondsUntil() > 0)
|
||||
_ = embed.AddField(new DiscordEmbedField(this.GetString(this.t.Commands.Utility.UserInfo.TimedOutUntil), $"{Formatter.Timestamp(bMember.CommunicationDisabledUntil.Value, TimestampFormat.LongDateTime)}", true));
|
||||
|
||||
_ = await this.RespondOrEdit(builder.WithEmbed(embed));
|
||||
_ = await this.RespondOrEdit(builder.AddEmbed(embed));
|
||||
|
||||
if (InviterButtonAdded)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue