zfbx / zdiscord

A Discord bot that runs in FiveM for the purpose of whitelisting, moderation and utilties using discord.js
Other
211 stars 79 forks source link

[Feature] add the notifications of ox_lib #106

Open Kawet00 opened 11 months ago

Kawet00 commented 11 months ago

Is your feature request related to a problem? Please describe. Hi, I would be good to add best notifications, like the notifications of ox_lib. Beacause for now the notifications are in the chat and we cannot see the notification directly.

Describe the solution you'd like Add an option in the config where we can choose the notification system and in the utils.js it will detect what is it and for example if its ox_lib, line 200 in utils.js will be:

lib.notify({
  title: 'Notification title',
  description: 'Notification description',
  type: 'success',
});

here is the documentation: https://overextended.dev/ox_lib/Modules/Interface/Client/notify

Describe alternatives you've considered The notifications of esx, QB, ox, qs, okok, etc...