Repository navigation
Expand file tree
/
Copy pathCommands.js
More file actions
70 lines (69 loc) · 1.53 KB
/
Copy pathCommands.js
File metadata and controls
70 lines (69 loc) · 1.53 KB
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
const { ApplicationCommandOptionType } = require("discord.js");
module.exports = {
commandsArray: [
{
name: "invite-settings",
description: "Setup the invite logger system.",
options: [
{
name: "channel",
description: "The log channel.",
type: 7,
channels_type: [0],
required: true,
},
],
},
{
name: "remove-channel",
description: "Un-setup / Resetup the invite logger system.",
},
{
name: "invites",
description: "Show the user invites stats.",
options: [
{
name: "user",
description: "The user to get stats of.",
type: 6,
},
],
},
{
name: "check",
description: "Show the last 10 invites of user.",
options: [
{
name: "user",
description: "The user to get stats of.",
type: 6,
},
],
},
{
name: "resetinvites",
description: "Reset invites",
options: [
{
name: "user",
description: "Reset someone invites.",
type: 1,
options: [
{
name: "member",
description:
"Pick the member who will have their invites resetted.",
type: 6,
required: true,
},
],
},
{
name: "all",
description: "Reset the complete leaderboard of your server.",
type: 1,
},
],
},
],
};