-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
Copy pathUserLockedOut.handlebars
36 lines (29 loc) · 1.13 KB
/
UserLockedOut.handlebars
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
{
"content": "{{MentionType}}",
"avatar_url": "{{AvatarUrl}}",
"username": "{{BotUsername}}",
"embeds": [
{
"author": {
"name": "User Locked Out • {{{NotificationUsername}}}",
"url": "{{ServerUrl}}/web/index.html#!/useredit.html?userId={{UserId}}"
},
"thumbnail":{
"url": "{{ServerUrl}}/Users/{{UserId}}/Images/Primary"
},
"description": "
{{~#if_exist NotificationUsername~}}
> ``{{{NotificationUsername}}}`` has been locked out of ``{{{ServerName}}}`` for failing too many login attempts.\n\n
{{~/if_exist~}}
{{~#if_exist ServerUrl~}}
[**Enable User **]({{ServerUrl}}/web/index.html#!/useredit.html?userId={{UserId}})
{{~/if_exist~}}
{{~#if_exist ServerUrl~}}
• [**Reset Password**]({{ServerUrl}}/web/index.html#!/userpassword.html?userId={{UserId}})
{{~/if_exist~}}
",
"color": "15737923",
"timestamp": "{{Timestamp}}"
}
]
}