-
Notifications
You must be signed in to change notification settings - Fork 0
/
teams-users.handlebars
29 lines (29 loc) · 1.17 KB
/
teams-users.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
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"summary": "Notification about {{{NotificationUsername}}} on {{{ServerName}}}",
"themeColor": "#FF0000", //red
"title": "{{{BotUsername}}}",
"sections": [
{
{{#if_equals NotificationType 'UserCreated'}}
"activityTitle": "User **{{{NotificationUsername}}}** was just created."
{{/if_equals}}
{{#if_equals NotificationType 'UserDeleted'}}
"activityTitle": "User **{{{NotificationUsername}}}** was just deleted."
{{/if_equals}}
{{#if_equals NotificationType 'UserPasswordChanged'}}
"activityTitle": "User **{{{NotificationUsername}}}** changed their password."
{{/if_equals}}
{{#if_equals NotificationType 'UserUpdated'}}
"activityTitle": "User **{{{NotificationUsername}}}** was updated."
{{/if_equals}}
{{#if_equals NotificationType 'UserDataSaved'}}
"activityTitle": "User **{{{NotificationUsername}}}** data successfully saved."
{{/if_equals}}
},
{
"activitySubtitle": "{{{ServerName}}} - {{Timestamp}}"
}
]
}