« [MAP] Automatic gate
[Release] ADiscord Library

AroliS^

  • Jr. Member
  • PRO
  • Posts: 65
[Release] ADiscord Library
«  »
ADiscord

A Nodejs Library for connecting a VC MP server over sockets to Discord
Since Discord plugins weren't fully functional at all.  and I got few DM's that they were in the need of a library I decide to create a fully function library where everybody somehow can collaborate :) Enjoy it


Everybody is more than welcome to collaborate. Didn't have the time to do a deep test.
If you encounter any bugs/errors just let me know and I will fix it as soon as possible

Github Wiki
Github Repository

.
 
Quick Code Lookup
Code: [Select]
             // client
ADiscord.user.send (player.Name + ": " + text, "846106037790179398");

ADiscord.user.messageEmbed ({
Title = player.Name,
Description = "replied: " + text
}, "846106037790179398")
               
           // message listener
       addEventHandler.on ("message", function (message) {
           if (message.channel.id == "846106037790179398" || message.channel.name == "General")
                          message.channel.send ("HI " + message.author.username);
       }
Lemme love ya

« [MAP] Automatic gate