Jump to content

[SHOW] - MTA - Discord integration API


specahawk

Recommended Posts

  • 2 weeks later...

@Necktrox I was running your JS on my Debian 8 machine, but I got 2 Errors, the first was solved thanks to Luca, the second one, isn't fixed which is: SyntaxError: Unexpected Identifier.
at Module._compile (module.js:439:25)
at Object.Module._extensions (module.js:470:10)
at Module.load (module.js:356:32)
...etc what to do?

 

Edited by UPG
Link to comment
  • MTA Team

You can tell me your node version by typing "node -v" on the command line.

Anyway, your error code doesn't specify the source of the error. You either have an error in your config.json or no config.json file at all.

Link to comment
  • 4 weeks later...
  • 1 month later...

hello  , anyhelp please ?

i have added sockets to my server and it's working 100%

but the problem still the same ,here :

[2017-08-29 22:46:30] ERROR: discord/socket.lua:66: attempt to index local 'instance' (a nil value)

 

and the src file what does it stand for  and how can i add it to the server ?
 

Edited by Simon|M|
Link to comment
  • 10 months later...
  • 1 month later...
  • 3 months later...
  • 8 months later...
  • 4 months later...
On 05/12/2016 at 03:51, botder said:

I have released a self-hosted Discord relay some time ago, but didn't bother posting here or adding documentation. @specahawk, you can tell me to remove this post if you don't want to have this advertising in your thread. Anyway, the code is on GitHub (Necktrox/mta-discord-bot) and it's being used by Mr.Green, one unknown guy and my clan's server. It doesn't support any commands, but the implementation is up to you (the bot recognizes commands with dot (.) prefix). It's running perfectly stable for months.

Long time this dont get update. Is any way to make this possible without using relay node.js server (externar things) because people buy the server and dont have acess to install that things. 

  • Like 2
Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...