discord
This commit is contained in:
1 parent
afc27c804d
commit
d665e95f02
2 files changed
+23
-12
No files matched your search
@@ -15,6 +15,20 @@ export interface AlertMatrixPayload {
|
||||
htmlText: string;
|
||||
}
|
||||
|
||||
export interface DiscordEmbedField {
|
||||
name: string;
|
||||
value: string;
|
||||
inline?: boolean;
|
||||
}
|
||||
|
||||
export interface AlertDiscordPayload {
|
||||
title: string;
|
||||
description: string;
|
||||
color: number;
|
||||
fields: DiscordEmbedField[];
|
||||
timestamp: string;
|
||||
}
|
||||
|
||||
export interface Alert {
|
||||
channel: NotificationChannel;
|
||||
address?: string;
|
||||
|
||||
Reference in new issue
Block a user