mta-status

1.1.0 • Public • Published

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

Avatar

👥 | Contact

DiscordTag: MrSmith#0069 DiscordID: MrSmith#0069

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i mta-status

    Weekly Downloads

    9

    Version

    1.1.0

    License

    ISC

    Unpacked Size

    3.37 kB

    Total Files

    4

    Last publish

    Collaborators

    • mrsmiith