Skip to content

@valoranchi/riot-client / index / WebhookNotifier

Class: WebhookNotifier ​

Defined in: src/watch/WebhookNotifier.ts:4

Constructors ​

Constructor ​

new WebhookNotifier(urlString): WebhookNotifier

Defined in: src/watch/WebhookNotifier.ts:7

Parameters ​

urlString ​

string

Returns ​

WebhookNotifier

Accessors ​

isDiscord ​

Get Signature ​

get isDiscord(): boolean

Defined in: src/watch/WebhookNotifier.ts:22

Returns ​

boolean

Methods ​

notify() ​

notify<T>(item, discordBuilder?): Promise<void>

Defined in: src/watch/WebhookNotifier.ts:29

Type Parameters ​

T ​

T = unknown

Parameters ​

item ​

T

discordBuilder? ​

(item) => unknown

Returns ​

Promise<void>

Not affiliated with Riot Games