mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
feat: update to Discord API v10
This commit is contained in:
parent
6a4033b2a9
commit
32a73eef09
13 changed files with 28 additions and 27 deletions
|
|
@ -174,7 +174,7 @@ public static class ContextUtils
|
|||
|
||||
// Edit the embed with the new page
|
||||
var embed = await MakeEmbedForPage(currentPage);
|
||||
await ctx.Rest.EditMessage(msg.ChannelId, msg.Id, new MessageEditRequest { Embed = embed });
|
||||
await ctx.Rest.EditMessage(msg.ChannelId, msg.Id, new MessageEditRequest { Embeds = new[] { embed } });
|
||||
}
|
||||
}
|
||||
catch (TimeoutException)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue