This repository has been archived by the owner on Apr 21, 2024. It is now read-only.
/
consts.go
76 lines (65 loc) · 1.52 KB
/
consts.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package main
import (
"os"
)
// Paths
const (
rootFolder = "./Miiko"
discordPath = rootFolder + "/discord.json"
databasePath = rootFolder + "/db.json"
errorPath = rootFolder + "/errors.log"
)
// Languages
const (
french = iota
english = iota
)
// Tables
const (
tableAdmin = "role-administrator"
tableMod = "role-moderator"
tableLight = "role-light"
tableAbsynthe = "role-absynthe"
tableObsidian = "role-obsidian"
tableShadow = "role-shadow"
tableEel = "role-eel"
tableNPC = "role-npc"
tableSAR = "roles-sar"
tableWelcome = "channel-welcome"
tablePresentation = "channel-presentation" // To be changed with `introduction`.
tableFame = "channel-fame"
tableMessagesFamed = "messages-famed"
tablePins = "pins"
tableMinimumReactions = "minimum-reactions"
tableStatus = "status"
)
// Columns
const (
columnGuild = "server" // To be changed with `guild`.
columnChannel = "channel"
columnMessage = "message"
columnUser = "member"
columnRole = "role"
columnStatus = "status"
)
// Permissions
const (
permPrivateDirectory os.FileMode = 0700
permPrivateFile os.FileMode = 0600
)
// Colors
const (
colourAdministrator = 0xfee69e
colourModerator = 0x96eff5
colourLight = colourAdministrator
colourAbsynthe = 0x7efb7b
colourObsidian = 0xfbb6a8
colourShadow = 0xf9b3fc
colourEel = 0xbec9f8
colourNPC = 0x9c9c9c
colourBot = 0x7289da
)
// Pins
const (
pinAbsoluteMinimum = 3
)