mta-status
v1.1.0
Published
Get MTA:SA Server Inforamtion (player , status , name , etc ...)
Downloads
40
Maintainers
Readme
MTA STATUS
📂 | Installation
npm i mta-status
📜 | Setup
const Discord = require('discord.js');
const config = require('./config.json');
const mta = require(`mta-status`);
const client = new Discord.Client({ intents: [new Discord.Intents().add(32767)] });
client.on('ready', () => {
console.log(`Logged Us : ${client.user.tag}`);
mta.status(`Your IP`,`Your PORT`).then(mta => {
console.log(mta)
}).catch(err => {
console.log(err)
})
});
client.login(`Your Token`);
🍯| Data
👥 | Contact
DiscordTag: MrSmith#0069
DiscordID: MrSmith#0069