Add the following code to your function/command. This code needs to be added in the resource of the action you want to log. exports.JD_logs:discord('EMBED_MESSAGE', PLAYER_ID, PLAYER_2_ID, 'COLOR', ...
Download the Resource Drag and Drop in your resource Folder put "start JS_DiscordPermissions" into your server.cfg Also put "add_ace resource.JS_DiscordPermissions command.add_principal allow" and ...