-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpermissions.go
44 lines (41 loc) · 1 KB
/
permissions.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
package main
// Permissions struct
type Permissions struct{}
// CommandPermissions struct
type CommandPermissions struct {
ID string `storm:"id"`
command string `storm:"index"`
channel string `storm:"index"`
groups []string
}
// RolePermissions struct
type RolePermissions struct {
CreateInstantInvite bool
KickMembers bool
BanMembers bool
Administrator bool
ManageChannels bool
ManageGuild bool
AddReactions bool
ViewAuditLog bool
ViewChannel bool
SendMessages bool
SendTTSMessages bool
ManageMessages bool
EmbedLinks bool
AttachFiles bool
ReadMessageHistory bool
MentionEveryone bool
UseExternalEmojis bool
Connect bool
Speak bool
MuteMembers bool
DeafenMEmbers bool
MoveMembers bool
UseVAD bool
ChangeNickname bool
ManageNicknames bool
ManageRoles bool
ManageWebhooks bool
ManageEmojis bool
}