Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //you must download use npm i discord.js on your terminal
- const Discord = require("discord.js");
- const client = new Discord.Client();
- //ready message
- client.on("ready", () => {
- console.log(`${client.user.username} is Ready`);
- });
- //commands
- {
- client.on("message", async message => {
- if (message.channel.id === "channel-id") {
- await message.react("β ")
- await message.react("β")
- await message.react("π€·")
- await message.react("π€")
- };
- });
- };
- //login
- client.login("bot-token-goes-here");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement