generated from FnrDev/fnr-template
-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfigOptions.js
111 lines (111 loc) · 2.96 KB
/
configOptions.js
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
module.exports = [
{
name: "message",
description: "Configuration your ticket message",
type: 1,
options: [
{
name: "message",
description: "The message to sent in ticket",
type: 3,
required: true
},
{
name: "content",
description: "content will be appeared above embed message, use /variables command to see all available variables.",
type: 3
}
]
},
{
name: "category",
description: "Configuration your ticket category.",
type: 1,
options: [
{
name: "category",
description: "Select category to create ticket in",
type: 7,
channel_types: [4],
required: true
}
]
},
{
name: "color",
description: "Configuration your embed color",
type: 1,
options: [
{
name: "success",
description: "The success embed hex color",
type: 3,
required: true
}
]
},
{
name: "role",
description: "Configuration your staff role to view tickets",
type: 1,
options: [
{
name: "staff",
description: "The staff role to (view ticket / send messages)",
type: 8,
required: true
},
{
name: "managers",
description: "The managers role to (view ticket / send messages / manage channels / manage messages)",
type: 8,
required: true
}
]
},
{
name: "limit",
description: "Configuration the limit for each user to create ticket",
type: 1,
options: [
{
name: "limit",
description: "The limit for each user to create ticket",
type: 4,
required: true
}
]
},
{
name: "name",
description: "Configuration the default ticket name",
type: 1,
options: [
{
name: "name",
description: "The default ticket name. use variable. {username} to show username of the user",
type: 3,
required: true
}
]
},
{
name: "log",
description: "Configuration the log channel for (creating / delete) tickets",
type: 1,
options: [
{
name: "channel",
description: "Select log channel",
type: 7,
channel_types: [0],
required: true
}
]
},
{
name: "show",
description: "Show your configurations in this server",
type: 1
}
]