Documentation ¶
Overview ¶
Package audit provides channel and role audit functionality. The audit rules are:
- Admin role can only be held by specific roles
- @everyone role must match specific permissions
- Any roles providing extra permissions must be explicitly defined
- Channels should only provide visibility for a single base role
- Exceptions to be explicit
- Read Only channels can provide custom permissions for the role allowed to
- write.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RolePermissions = map[string]int64{
"@everyone": basePermissions,
"Amenity Leader": 1071698538049,
"Mods": 1440260156551,
"Discord Security": 2196338376671,
"Announcements": 2198083203015,
"Admin": 2189895925759,
"Owner": 1069551046217,
}
RolePermissions we expect.
Functions ¶
This section is empty.
Types ¶
type Channels ¶
Channels in a Discord server.
Click to show internal directories.
Click to hide internal directories.