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', ...