Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

A manual alert sender. Listen to enable an alerts bundle to be tested by the user easily

Notifications You must be signed in to change notification settings

ProbablePrime/prime-manual-alerts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prime-manual-alerts

A manual alert sender. Listen to enable an alerts bundle to be tested by the user easily.

This is a NodeCG 0.9 Bundle.

Events

FOLLOW

{
	"username":"user",
	"ts":<Unix timestamp>,
	"type":"follow"
}

SUBSCRIPTION

{
	"username":"user",
	"ts":<Unix timestamp>,
	"type":"subscription",
	"months":2
}

HOST

{
	"username":"user",
	"ts":<Unix timestamp>,
	"type":"host"
}

TIP

{
	"username":"user",
	"ts":<Unix timestamp>,
	"type":"tip",
	"amount":20,
	"currencySymbol":"$"
}

Example Use

nodecg.listenFor('follow','prime-manual-alerts', data => {
	console.log(data);
});

About

A manual alert sender. Listen to enable an alerts bundle to be tested by the user easily

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published