Discord Permissions
You can synchronize permissions in the Admin Menu with Discord roles. To do this, you need to set up the Discord Bot (See: Avatars) and paste the Discord role ID into each permission group in bridge/[framework]/permission_groups.lua
Permission Groups.
1
3
Set the Role ID
Set the discord group ID for the permission group
---@class PermissionGroup
---@field group string
---@field permissions string[]
---@type PermissionGroup[]
return {
{
group = 'owner',
discord_group_id = '1372359455940804620', -- Paste the Discord Role ID here
permissions = { 'all' }
},
...
}
Last updated