-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
modmail.json
91 lines (91 loc) · 2.12 KB
/
modmail.json
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
{
"name": "modmail",
"description": "Send or receive messages from a server's moderation team",
"integration_types": [
0
],
"contexts": [
0
],
"options": [
{
"name": "message-mods",
"description": "As a user, send a message to a server's moderation team",
"type": 1,
"options": [
{
"name": "message",
"description": "The message to send",
"type": 3,
"required": true
}
]
},
{
"name": "message-user",
"description": "As a moderator, send a direct message from the moderation team to a user",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to send a message to",
"type": 6,
"required": true
}
]
},
{
"name": "block",
"description": "As a moderator, block a user from sending mod mail",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to block",
"type": 6,
"required": true
}
]
},
{
"name": "unblock",
"description": "As a moderator, unblock a user from sending mod mail",
"type": 1,
"options": [
{
"name": "user",
"description": "The user to unblock",
"type": 6,
"required": true
}
]
},
{
"name": "log-set",
"description": "Set a channel for modmail logging (if none is set, it defaults to global moderation log channel)",
"type": 1,
"options": [
{
"name": "channel",
"description": "The text channel you want modmail logged in, default current channel",
"type": 7,
"required": false,
"channel_types": [
0,
5
]
}
]
},
{
"name": "log-show",
"description": "Show the configuration of modmail logging in this server",
"type": 1
},
{
"name": "log-stop",
"description": "Revert to using global moderation log channel from /mod log set",
"type": 1
}
]
}