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
|
|
@ -37,7 +37,7 @@ internal sealed class AvatarCommand : BaseCommand
|
|||
var ServerProfilePictureButton = new DiscordButtonComponent(ButtonStyle.Secondary, "ShowServer", this.GetString(this.t.Commands.Utility.Avatar.ShowServerProfile), (string.IsNullOrWhiteSpace(member?.GuildAvatarHash)), new DiscordComponentEmoji(DiscordEmoji.FromUnicode("🖥")));
|
||||
var ProfilePictureButton = new DiscordButtonComponent(ButtonStyle.Secondary, "ShowProfile", this.GetString(this.t.Commands.Utility.Avatar.ShowUserProfile), false, new DiscordComponentEmoji(DiscordEmoji.FromUnicode("👤")));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed).AddComponents(ServerProfilePictureButton);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed).AddComponents(ServerProfilePictureButton);
|
||||
|
||||
var msg = await this.RespondOrEdit(builder);
|
||||
|
||||
|
|
@ -77,12 +77,12 @@ internal sealed class AvatarCommand : BaseCommand
|
|||
if (e.GetCustomId() == ServerProfilePictureButton.CustomId)
|
||||
{
|
||||
embed.ImageUrl = member.GuildAvatarUrl;
|
||||
_ = this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed).AddComponents(ProfilePictureButton));
|
||||
_ = this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed).AddComponents(ProfilePictureButton));
|
||||
}
|
||||
else if (e.GetCustomId() == ProfilePictureButton.CustomId)
|
||||
{
|
||||
embed.ImageUrl = member.AvatarUrl;
|
||||
_ = this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed).AddComponents(ServerProfilePictureButton));
|
||||
_ = this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed).AddComponents(ServerProfilePictureButton));
|
||||
}
|
||||
}
|
||||
}).Add(ctx.Bot, ctx);
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ internal sealed class BannerCommand : BaseCommand
|
|||
Description = victim.BannerUrl.IsNullOrWhiteSpace() ? this.GetString(this.t.Commands.Utility.Banner.NoBanner, true) : ""
|
||||
}.AsInfo(ctx, this.GetString(this.t.Commands.Utility.Banner.Banner, false, new TVar("User", victim.GetUsernameWithIdentifier())));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
_ = await this.RespondOrEdit(builder);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ internal sealed class DeleteCommand : BaseCommand
|
|||
|
||||
if (ctx.Bot.objectedUsers.Contains(ctx.User.Id))
|
||||
{
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.Data.Object.ProfileAlreadyDeleted, true)
|
||||
}.AsAwaitingInput(ctx)).AddComponents(new List<DiscordComponent> { Yes, No }));
|
||||
|
|
@ -75,7 +75,7 @@ internal sealed class DeleteCommand : BaseCommand
|
|||
|
||||
if (ctx.DbUser.Data.DeletionRequested)
|
||||
{
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.Data.Object.DeletionAlreadyScheduled, true,
|
||||
new TVar("RequestTimestamp", ctx.DbUser.Data.DeletionRequestDate.AddDays(-14).ToTimestamp()),
|
||||
|
|
@ -110,7 +110,7 @@ internal sealed class DeleteCommand : BaseCommand
|
|||
return;
|
||||
}
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.Data.Object.ObjectionDisclaimer, true, true)
|
||||
}.AsAwaitingInput(ctx)).AddComponents(new List<DiscordComponent> { Yes, No }));
|
||||
|
|
@ -127,7 +127,7 @@ internal sealed class DeleteCommand : BaseCommand
|
|||
|
||||
if (Menu.GetCustomId() == Yes.CustomId)
|
||||
{
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = $"**{this.GetString(this.t.Commands.Utility.Data.Object.SecondaryConfirm, true)}**"
|
||||
}.AsAwaitingInput(ctx)).AddComponents(new List<DiscordComponent> { No, Yes }));
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ internal sealed class RequestCommand : BaseCommand
|
|||
{
|
||||
case Enums.CommandType.ApplicationCommand:
|
||||
{
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.Data.Request.Confirm, true)
|
||||
}.AsSuccess(ctx)).WithFile("userdata.json", stream));
|
||||
|
|
@ -66,7 +66,7 @@ internal sealed class RequestCommand : BaseCommand
|
|||
{
|
||||
try
|
||||
{
|
||||
_ = await ctx.User.SendMessageAsync(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await ctx.User.SendMessageAsync(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.Data.Request.Confirm, true)
|
||||
}.AsSuccess(ctx)).WithFile("userdata.json", stream));
|
||||
|
|
|
|||
|
|
@ -198,7 +198,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
|
||||
var SendHereButton = new DiscordButtonComponent(ButtonStyle.Secondary, "SendHere", this.GetString(this.t.Commands.Utility.EmojiStealer.CurrentChatZip), !(ctx.Member.Permissions.HasPermission(Permissions.AttachFiles)), new DiscordComponentEmoji(DiscordEmoji.FromUnicode("💬")));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
if (SanitizedEmoteList.Any(x => x.Value.EntryType == EmojiType.STICKER))
|
||||
_ = builder.AddComponents(IncludeStickersButton);
|
||||
|
|
@ -268,7 +268,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
new TVar("Min", 0),
|
||||
new TVar("Max", (IncludeStickers ? SanitizedEmoteList.Count : SanitizedEmoteList.Where(x => x.Value.EntryType == EmojiType.EMOJI).Count())));
|
||||
_ = embed.AsLoading(ctx);
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed));
|
||||
|
||||
for (var i = 0; i < SanitizedEmoteList.Count; i++)
|
||||
{
|
||||
|
|
@ -369,7 +369,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
|
||||
embed.Description = this.GetString(this.t.Commands.Utility.EmojiStealer.SendingDm, true, new TVar("Type", emojiText));
|
||||
_ = embed.AsLoading(ctx);
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed));
|
||||
|
||||
try
|
||||
{
|
||||
|
|
@ -416,7 +416,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
cancellationTokenSource.Cancel();
|
||||
|
||||
embed.Description = this.GetString(this.t.Commands.Utility.EmojiStealer.PreparingZip, true);
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed.AsLoading(ctx)));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed.AsLoading(ctx)));
|
||||
|
||||
using (var archive = new ZipArchive(zipFileStream, ZipArchiveMode.Create, true))
|
||||
{
|
||||
|
|
@ -476,7 +476,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
new TVar("Type", emojiText));
|
||||
|
||||
_ = zipFileStream.Seek(0, SeekOrigin.Begin);
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithFile($"Emotes.zip", zipFileStream).WithEmbed(embed.AsSuccess(ctx)));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithFile($"Emotes.zip", zipFileStream).AddEmbed(embed.AsSuccess(ctx)));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
@ -493,7 +493,7 @@ internal sealed class EmojiStealerCommand : BaseCommand
|
|||
IncludeStickersButton = new DiscordButtonComponent((IncludeStickers ? ButtonStyle.Success : ButtonStyle.Danger), "ToggleStickers", this.GetString(this.t.Commands.Utility.EmojiStealer.ToggleStickers), !SanitizedEmoteList.Any(x => x.Value.EntryType == EmojiType.EMOJI), new DiscordComponentEmoji(DiscordEmoji.FromGuildEmote(ctx.Client, (ulong)(IncludeStickers ? 970278964755038248 : 970278964079767574))));
|
||||
AddToServerButton = new DiscordButtonComponent(ButtonStyle.Success, "AddToServer", (IncludeStickers ? this.GetString(this.t.Commands.Utility.EmojiStealer.AddEmojisAndStickerToServer) : this.GetString(this.t.Commands.Utility.EmojiStealer.AddEmojisToServer)), !ctx.Member.Permissions.HasPermission(Permissions.ManageGuildExpressions), new DiscordComponentEmoji(DiscordEmoji.FromUnicode("➕")));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
if (SanitizedEmoteList.Any(x => x.Value.EntryType == EmojiType.STICKER))
|
||||
_ = builder.AddComponents(IncludeStickersButton);
|
||||
|
|
|
|||
|
|
@ -108,13 +108,13 @@ internal sealed class GuildInfoCommand : BaseCommand
|
|||
if (guild.RawFeatures.Count > 0)
|
||||
_ = embed.AddField(new DiscordEmbedField(this.GetString(CommandKey.GuildFeatures), $"{string.Join(", ", guild.RawFeatures.Select(x => $"`{string.Join(" ", x.Replace("_", " ").ToLower().Split(" ").Select(x => x.FirstLetterToUpper()))}`"))}"));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
if (!guild.VanityUrlCode.IsNullOrWhiteSpace())
|
||||
_ = builder.AddComponents(new DiscordLinkButtonComponent($"https://discord.gg/{guild.VanityUrlCode}", this.GetString(CommandKey.JoinServer), false, DiscordEmoji.FromUnicode("🔗").ToComponent()));
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder()
|
||||
.WithEmbed(embed)
|
||||
.AddEmbed(embed)
|
||||
.AddComponents(new DiscordLinkButtonComponent(guild.BannerUrl ?? "https://discord.gg", this.GetString(CommandKey.Banner), guild.BannerUrl is null),
|
||||
new DiscordLinkButtonComponent(guild.SplashUrl ?? "https://discord.gg", this.GetString(CommandKey.Splash), guild.BannerUrl is null),
|
||||
new DiscordLinkButtonComponent(guild.DiscoverySplashUrl ?? "https://discord.gg", this.GetString(CommandKey.DiscoverySplash), guild.BannerUrl is null),
|
||||
|
|
@ -127,7 +127,7 @@ internal sealed class GuildInfoCommand : BaseCommand
|
|||
// using (var file = new FileStream($"cache/{imageHash}", FileMode.Open, FileAccess.Read))
|
||||
// {
|
||||
// _ = await this.RespondOrEdit(new DiscordMessageBuilder()
|
||||
// .WithEmbed(embed)
|
||||
// .AddEmbed(embed)
|
||||
// .WithFile("banner.png", file));
|
||||
// }
|
||||
//}
|
||||
|
|
@ -162,7 +162,7 @@ internal sealed class GuildInfoCommand : BaseCommand
|
|||
_ = embed.AddField(new DiscordEmbedField(this.GetString(CommandKey.GuildFeatures), $"{string.Join(", ", preview.Features.Select(x => $"`{string.Join(" ", x.Replace("_", " ").ToLower().Split(" ").Select(x => x.FirstLetterToUpper()))}`"))}"));
|
||||
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
var invite = "";
|
||||
|
||||
|
|
@ -187,7 +187,7 @@ internal sealed class GuildInfoCommand : BaseCommand
|
|||
|
||||
_ = embed.AddField(new DiscordEmbedField(this.GetString(CommandKey.MemberTitle), $"🟢 `{widget.PresenceCount}` **{this.GetString(CommandKey.OnlineMembers)}**\n"));
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(embed);
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(embed);
|
||||
|
||||
if (!widget.InstantInviteUrl.IsNullOrWhiteSpace())
|
||||
_ = builder.AddComponents(new DiscordLinkButtonComponent(widget.InstantInviteUrl, this.GetString(CommandKey.JoinServer), false, DiscordEmoji.FromUnicode("🔗").ToComponent()));
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ internal sealed class HelpCommand : BaseCommand
|
|||
var PreviousButton = new DiscordButtonComponent(ButtonStyle.Primary, Guid.NewGuid().ToString(), this.GetString(this.t.Common.PreviousPage), (Page <= 0), DiscordEmoji.FromUnicode("◀").ToComponent());
|
||||
var NextButton = new DiscordButtonComponent(ButtonStyle.Primary, Guid.NewGuid().ToString(), this.GetString(this.t.Common.NextPage), (Page >= discordEmbeds.Count - 1), DiscordEmoji.FromUnicode("▶").ToComponent());
|
||||
|
||||
var builder = new DiscordMessageBuilder().WithEmbed(discordEmbeds.ElementAt(Page));
|
||||
var builder = new DiscordMessageBuilder().AddEmbed(discordEmbeds.ElementAt(Page));
|
||||
|
||||
if (!PreviousButton.Disabled || !NextButton.Disabled)
|
||||
_ = builder.AddComponents(PreviousButton, NextButton);
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ internal sealed class RemindersCommand : BaseCommand
|
|||
if (snoozeDescription is null)
|
||||
{
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder()
|
||||
.WithEmbed(new DiscordEmbedBuilder()
|
||||
.AddEmbed(new DiscordEmbedBuilder()
|
||||
.WithDescription($"{this.GetString(this.t.Commands.Utility.Reminders.Count, true, new TVar("Count", rem.ScheduledReminders.Length))}\n\n" +
|
||||
$"{string.Join("\n\n", rem.ScheduledReminders.Select(x => $"> {x.Description.FullSanitize()}\n{this.GetString(this.t.Commands.Utility.Reminders.CreatedOn, new TVar("Guild", $"**{x.CreationPlace}**"))}\n{this.GetString(this.t.Commands.Utility.Reminders.DueTime, new TVar("Relative", x.DueTime.ToTimestamp()), new TVar("DateTime", x.DueTime.ToTimestamp(TimestampFormat.LongDateTime)))}").ToList())}\n\n" +
|
||||
$"**⚠ {this.GetString(this.t.Commands.Utility.Reminders.Notice)}**")
|
||||
|
|
@ -80,7 +80,7 @@ internal sealed class RemindersCommand : BaseCommand
|
|||
$"`{this.GetString(this.t.Commands.Utility.Reminders.DateTime).PadRight(padding)}`: {(selectedDueDate is null ? $"`{this.GetString(this.t.Common.NotSelected)}`" : $"{selectedDueDate.Value.ToTimestamp(TimestampFormat.LongDateTime)} ({selectedDueDate.Value.ToTimestamp()})")}"
|
||||
}.AsAwaitingInput(ctx, this.GetString(this.t.Commands.Utility.Reminders.Title));
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(action_embed)
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(action_embed)
|
||||
.AddComponents(new List<DiscordComponent> { SelectDescriptionButton, SelectDueDateButton, Finish })
|
||||
.AddComponents(MessageComponents.GetBackButton(ctx.DbUser, ctx.Bot)));
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ internal sealed class ReportHostCommand : BaseCommand
|
|||
tos_embed.Description = tos_embed.Description.Insert(0, $"**{this.GetString(this.t.Commands.Utility.ReportHost.TosChangedNotice)}**\n\n");
|
||||
}
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(tos_embed).AddComponents(button));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(tos_embed).AddComponents(button));
|
||||
|
||||
var TosAccept = await ctx.WaitForButtonAsync(TimeSpan.FromMinutes(2));
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ internal sealed class ReportHostCommand : BaseCommand
|
|||
|
||||
var ContinueButton = new DiscordButtonComponent(ButtonStyle.Success, Guid.NewGuid().ToString(), this.GetString(this.t.Common.Confirm), false, new DiscordComponentEmoji(DiscordEmoji.FromUnicode("✅")));
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(embed).AddComponents(new List<DiscordComponent>
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(embed).AddComponents(new List<DiscordComponent>
|
||||
{
|
||||
{ ContinueButton },
|
||||
{ MessageComponents.GetCancelButton(ctx.DbUser, ctx.Bot) }
|
||||
|
|
@ -158,7 +158,7 @@ internal sealed class ReportHostCommand : BaseCommand
|
|||
var BanUserButton = new DiscordButtonComponent(ButtonStyle.Danger, "ban_user", "Deny submission & ban submitter", false, new DiscordComponentEmoji(DiscordEmoji.FromGuildEmote(ctx.Client, 1005430134070841395)));
|
||||
var BanGuildButton = new DiscordButtonComponent(ButtonStyle.Danger, "ban_guild", "Deny submission & ban guild", false, new DiscordComponentEmoji(DiscordEmoji.FromGuildEmote(ctx.Client, 1005430134070841395)));
|
||||
|
||||
var submittedMsg = await channel.SendMessageAsync(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
var submittedMsg = await channel.SendMessageAsync(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Author = new DiscordEmbedBuilder.EmbedAuthor { IconUrl = StatusIndicatorIcons.Success, Name = this.GetString(this.t.Commands.Utility.ReportHost.Title) },
|
||||
Color = EmbedColors.Success,
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ internal sealed class ReportTranslationCommand : BaseCommand
|
|||
tos_embed.Description = tos_embed.Description.Insert(0, $"**{this.GetString(CommandKey.TosChangedNotice)}**\n\n");
|
||||
}
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(tos_embed).AddComponents(button));
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(tos_embed).AddComponents(button));
|
||||
|
||||
var TosAccept = await ctx.WaitForButtonAsync(TimeSpan.FromMinutes(2));
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ internal sealed class UrbanDictionaryCommand : BaseCommand
|
|||
var Yes = new DiscordButtonComponent(ButtonStyle.Success, Guid.NewGuid().ToString(), this.GetString(this.t.Common.Yes), false, new DiscordComponentEmoji(true.ToEmote(ctx.Bot)));
|
||||
var No = new DiscordButtonComponent(ButtonStyle.Danger, Guid.NewGuid().ToString(), this.GetString(this.t.Common.No), false, new DiscordComponentEmoji(false.ToEmote(ctx.Bot)));
|
||||
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().WithEmbed(new DiscordEmbedBuilder
|
||||
_ = await this.RespondOrEdit(new DiscordMessageBuilder().AddEmbed(new DiscordEmbedBuilder
|
||||
{
|
||||
Description = this.GetString(this.t.Commands.Utility.UrbanDictionary.AdultContentWarning, true)
|
||||
}.AsAwaitingInput(ctx)).AddComponents(new List<DiscordComponent> { Yes, No }));
|
||||
|
|
|
|||
|
|
@ -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