How to connect discord that server's log is sent to discord
There are a lot of ways but the one I use is:
Get a mySQL DB.
Make a discord bot in another language that gets data from the mysql db and echoes it.
In your VCMP server, whenever you want to send a message, do an insert statement to the mySQL db and wait for the discord bot to read it and echo it.
however you cant do any of this is one another thing
Quote from: Xmair on Dec 06, 2017, 02:06 PMThere are a lot of ways but the one I use is:
Get a mySQL DB.
Make a discord bot in another language that gets data from the mysql db and echoes it.
In your VCMP server, whenever you want to send a message, do an insert statement to the mySQL db and wait for the discord bot to read it and echo it.
however you cant do any of this is one another thing
I know but now I will.
Just tell me that in whch language the bot should be and what is the snippet of connect it in any way
bot made and integrated.
Quote from: vitogta on Jul 24, 2018, 01:23 PMQuote from: umar4911 on Apr 22, 2018, 08:34 AMbot made and integrated.
so how you did it?
Well, I used mysql databases to do it.
Server > mysql db > discord (same for the message from discord)
Using id's I made sure that correct message is sent and added a few commands to access from discord to server. Bot is scripted in node.js
I am thinking to improve the bot my creating a connection with socket directly. Is it possible?
megamind can help you
@MEGAMIND
I dont need help, everything has been setup.
Quote from: MEGAMIND on Jul 26, 2018, 07:31 PMI dont need help, everything has been setup.
he is saying to help me xD.
Btw is it possible to do withb socket?
@umar4911 #8 It's possible.
How? I mean just give me direction
Yes it is possible.
I had ported mta-discord-bot to vcmp before and it worked.
MTA DISCORD BOT (https://github.com/Necktrox/mta-discord-bot)
PORTED Version TO LU (https://github.com/Rhytz/lu-discord)
Use node.js
Rest in peace
Umar4911 bro, can you pm me of vks forum about how did you make the bot. Thanks
Quote from: [KM]Helathien on Jul 28, 2018, 12:05 PMUmar4911 bro, can you pm me of vks forum about how did you make the bot. Thanks
There is a ready made bot by Necktrox if you know a bit about node.js this is the link which will help you.
Quote from: ! on Jul 27, 2018, 04:36 PMYes it is possible.
I had ported mta-discord-bot to vcmp before and it worked.
MTA DISCORD BOT (https://github.com/Necktrox/mta-discord-bot)
PORTED Version TO LU (https://github.com/Rhytz/lu-discord)
MEGAMIND Give Me Discord i want to talk with u