Open zuuring opened 8 months ago
Further notes on implementation:
Wire up to role-mapping, so that on channel creation, we check permissions but also for ext-*-audit
channels, create a new role matching channel name format.
Tie a specific user joining event to invite ID -> which assigns audit channel role. This will require checking member join url id, matching it to invite id and then matching channel name to role.
Delete channel + role when channel is removed.
Introduction
At the moment it would be beneficial to have an invite functionality that would give the ability to manage / create / remove invites from Valkyrie. In order to have Valkyrie run invites, there should be the introduction of a
invite-management.ts
helper which will have the ability to:maxAge, maxUses, inviter, inviterID, expiresAt, createdAt, channelId
) via discordJS/invite:ClassImplementation
The first implementation of this would be to create a new invite for
defense
channels based on a set of criteria such as:ext-*-audit
name, we create an associated role named (i.e., we run `s/ext-(.)-audit/$1/` in sed terms).Once this task has run via Valkyrie, it should also log these events to the specific channel in discord with information like: