mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 23:07:54 +00:00
feat(bot): initial ComponentsV2 implementation
This commit is contained in:
parent
695d1debf2
commit
517d4d9b56
12 changed files with 401 additions and 67 deletions
|
|
@ -18,7 +18,7 @@ public class System
|
|||
{
|
||||
if (system == null) throw Errors.NoSystemError(ctx.DefaultPrefix);
|
||||
|
||||
await ctx.Reply(embed: await _embeds.CreateSystemEmbed(ctx, system, ctx.LookupContextFor(system.Id)));
|
||||
await ctx.Reply(components: await _embeds.CreateSystemMessageComponents(ctx, system, ctx.LookupContextFor(system.Id)));
|
||||
}
|
||||
|
||||
public async Task New(Context ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue