How to add sound

Navigate to the web folder within the script directory. Inside, you will find a folder named sounds. Add MP3 files to this sounds folder to use them for your notifications. To play a sound, simply define the sound argument within the data array.


    title = "Notification",
    text = "You have a new notification!",
    style = "default",
    pos = "top-left",
    sound = "default", -- rat-notify/web/sounds/default.mp3

Last updated