README
Required Packages: discord.js
Dou you have any problems? Join my Support Server
const Discord = require('discord.js'); //define discord
require("discord-inlinereply") //bot requires the module
const client = new Discord.Client(); //create a new discord client
client.on('ready', () => { // |
console.log(`Logged in as ${client.user.tag}!`); // | ready event
}); // |
client.on('message', async message => { //start message event
if (message.content === 'ping') { //command: ping
message.inlineReply('Pong!') //answer: pong (with inline reply)
} //end of command
}); //end of message event
client.login('your_token'); //login with your bot