mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
19 lines
280 B
JavaScript
19 lines
280 B
JavaScript
const { triggerAction } = require("../utils");
|
|
|
|
const CHANNEL = "notification";
|
|
const ACTIONS = {
|
|
NOTIFICATION: "notification",
|
|
};
|
|
|
|
function notify(info) {
|
|
triggerAction(CHANNEL, ACTIONS.NOTIFICATION, info);
|
|
}
|
|
|
|
module.exports = {
|
|
CHANNEL,
|
|
ACTIONS,
|
|
global: {
|
|
notify,
|
|
},
|
|
};
|