mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-07-26 20:48:30 +00:00
15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
|
var FFZ = window.FrankerFaceZ;
|
||
|
|
||
|
FFZ.prototype.show_notification = function(message) {
|
||
|
window.noty({
|
||
|
text: message,
|
||
|
theme: "ffzTheme",
|
||
|
layout: "bottomCenter",
|
||
|
closeWith: ["button"]
|
||
|
}).show();
|
||
|
}
|
||
|
|
||
|
|
||
|
FFZ.ws_commands.message = function(message) {
|
||
|
this.show_notification(message);
|
||
|
}
|