feat(bot): initial ComponentsV2 implementation

This commit is contained in:
Iris System 2025-08-25 11:30:46 +12:00
parent 695d1debf2
commit 517d4d9b56
12 changed files with 401 additions and 67 deletions

View file

@ -520,7 +520,7 @@ public class Groups
public async Task ShowGroupCard(Context ctx, PKGroup target)
{
var system = await GetGroupSystem(ctx, target);
await ctx.Reply(embed: await _embeds.CreateGroupEmbed(ctx, system, target));
await ctx.Reply(components: await _embeds.CreateGroupMessageComponents(ctx, system, target));
}
public async Task GroupPrivacy(Context ctx, PKGroup target, PrivacyLevel? newValueFromCommand)