This script adds the feature of being able to do either /tweet in game which will go to Discord and FiveM Chat or in Discord being able to do !tweet and it goes to FiveM and Discord
Note from the author: This bot/script uses Javascript and NPM Modules, I’ve been using LUA for awhile but I’ve always liked JavaScript after watching Jeva’s Video on JS in FiveM I gave it a shot! This won’t be the last JS resource you will see from me.
{
anonymousAccounts: true,
discord: {
prefix: '!', // Prefix to be used with the Discord Bot
token: '', // Discord Bot Token
tweetChannel: '' // the channel ID which tweets from ingame will go to
},
mysql: {
host : 'localhost',
user : 'root',
password : '',
database : 'adren_scripts',
table : 'twitteraccounts'
}
}
Because you wouldnt be able to do !tweet from discord. You can do !tweet in a channel in Discord and it can go to FiveM, You can tweet from discord to fivem or fivem to discord
Hi there, I’ve been getting this issue recently not too sure why as I think I’ve followed the steps correctly. I’ve tried re-doing it few times with no success so I’m here to ask for help. This is the issue I get when starting
This is a weird weird error. I would try re installing your default FX resources. Seems like its a yarn resource error which is built into those default resources.
Thanks for the quick reply, I’ve updated my server yesterday actually to latest artefacts version before I was setting this up. I’m going to try to run this on a clean server, to see if it’s something in my current server.