mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +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
|
|
@ -139,7 +139,8 @@ public class ApplicationCommandProxiedMessage
|
|||
if (member == null || !(await _cache.PermissionsForMemberInChannel(ctx.GuildId, ctx.ChannelId, member)).HasFlag(requiredPerms))
|
||||
{
|
||||
throw new PKError("You do not have permission to send messages in this channel.");
|
||||
};
|
||||
}
|
||||
;
|
||||
|
||||
var config = await _repo.GetSystemConfig(msg.System.Id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue