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

how do you log things? #76

Closed alexvermaning0 closed 2 years ago

alexvermaning0 commented 2 years ago

Before submitting your question have you checked the check the FAQ or checked for similar issues already?: yes

Question: i am trying to figure out how to add logs from other scripts or default qb ones. i can't seem to be able to figure it out from the wiki and FAQ

Information: FiveM artifact #: does not really affect the question Using QBCore?: yes When did you last update QBCore if you are using it?: 1-2 months ago.

zfbx commented 2 years ago

The logs are done through an export, there's examples here https://zfbx.github.io/zdiscord/exports#log let me know if that helps you out

alexvermaning0 commented 2 years ago

yes it does help me out. it will take some time to make it work how i want it. while i was making this question shortly after that i found a script that does what i want it. but im still using zdiscord too just for the QB commands.

these are all the things i wanted to log but there are also some of them that are not from qb-framework anyways ill try to make it work with those exports

image