replugged
replugged copied to clipboard
Notification API
An API for in app notification
Deploy Preview for replugged-docs failed.
| Name | Link |
|---|---|
| Latest commit | 7f6e97c3142723c98d8c17533a491d283e91b6fb |
| Latest deploy log | https://app.netlify.com/sites/replugged-docs/deploys/67f5072982cee7000819bd32 |
An example
const notif = replugged.notification.NotificationAPI.coremod("Notification")
notif.notify({
timeout: 60000,
type: "danger",
header: "DANGER",
gradient: ["#FF0000", "#F00000"],
content: "CLOSE YOUR CLIENT YOU ARE GETTING TRACKED!"
})