Skip to content
On this page

Discord Alerts

Here you can find the Docs to send alerts via Discord.

INFO

You can find all types here.

Embed Alerts

You can send embed alerts via the following.

Serverside:

lua
exports['quenotify']:discordEmbedAlert(title, message, type)

Example:

lua
exports['quenotify']:discordEmbedAlert('Imma Title', 'Look at me, a message.', 'success')

Clientside:

lua
TriggerServerEvent('quenotify:discordEmbedAlert', title, message, type)

Example:

lua
TriggerServerEvent('quenotify:discordEmbedAlert', 'Imma Title', 'Look at me, a message.', 'success')

Preview:

Text Alerts

You can send text alerts via the following.

Serverside:

lua
exports['quenotify']:discordTextAlert(message)

Example:

lua
exports['quenotify']:discordTextAlert('Look at me, a message.')

Clientside:

lua
TriggerServerEvent('quenotify:discordTextAlert', message)

Example:

lua
TriggerServerEvent('quenotify:discordTextAlert', 'Look at me, a message.')

Preview:

Image Alerts

You can send text alerts via the following.

Serverside:

lua
exports['quenotify']:discordImageAlert(image, title, message, type)

Example:

lua
exports['quenotify']:discordImageAlert('https://i.imgur.com/ZGPxFN2.jpg', 'Imma Title', 'Look at me, a message.', 'sucess')

Clientside:

lua
TriggerServerEvent('quenotify:discordImageAlert', image, title, message, type)

Example:

lua
TriggerServerEvent('quenotify:discordImageAlert', 'https://i.imgur.com/ZGPxFN2.jpg', 'Imma Title', 'Look at me, a message.', 'sucess')

Preview:

Released under the MIT License.