This will show you how to add logs to [Login to see the link]
First go to server/main.lua
Find the 'twt' command
Right below this line
TriggerClientEvent('chat:addMessage', -1, {args = {_U('twt_prefix', playerName), args}, color = {0, 153, 204}})
in the twt command add the following
exports['JD_logs']:discord(GetPlayerName(playerId)..' tweeted: '..args, playerId, 0, '#000000', 'tweet')
Thats it!
Make sure you set the channel argument (very last argument in the export) to a valid channel in JD_logs