Skip to content

RM-254: Add botpermissions package and update gdl#5

Merged
biast12 merged 1 commit intomasterfrom
RM-254
Apr 12, 2026
Merged

RM-254: Add botpermissions package and update gdl#5
biast12 merged 1 commit intomasterfrom
RM-254

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Apr 12, 2026

Introduce a new botpermissions package providing permission utilities: EffectivePermissions implements Discord's permission-overwrite resolution to compute a member's channel permissions (requires caller to prefetch roles/overwrites), and MissingPermissions returns which required permissions are lacking. Add predefined permission sets (StandardPermissions, MinimalPermissions, ThreadModeRequired, ChannelModeRequired, NotifChannelRequired, TranscriptChannelRequired) used by the bot for ticket/thread/channel operations. Also bump github.com/TicketsBot-cloud/gdl to a newer version in go.mod.
@biast12 biast12 requested a review from a team as a code owner April 12, 2026 10:48
@biast12 biast12 changed the title Add botpermissions package and update gdl RM-254: Add botpermissions package and update gdl Apr 12, 2026
@biast12 biast12 merged commit 83b9a6e into master Apr 12, 2026
@biast12 biast12 deleted the RM-254 branch April 12, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants