feat: update to Discord API v10

This commit is contained in:
spiral
2022-02-26 16:28:20 -05:00
parent 6a4033b2a9
commit 32a73eef09
13 changed files with 28 additions and 27 deletions

View File

@@ -133,6 +133,6 @@ public class Misc
.Timestamp(process.StartTime.ToString("O"));
await ctx.Rest.EditMessage(msg.ChannelId, msg.Id,
new MessageEditRequest { Content = "", Embed = embed.Build() });
new MessageEditRequest { Content = "", Embeds = new[] { embed.Build() } });
}
}