discord-robots
v1.0.8
Published
A javascript package for discord.js users for bot development!
Downloads
14
Maintainers
Readme
discord-robots
npm i discord-robots
you can use this to add reaction to users messages, use it for moderation, etc.
Discord Botlist - https://dbots.ml/
Server - https://dbots.ml/dc
Notes
Please have newest version of discord.js & discord-robots
Need support
Join https://dbots.ml/dc to get your support for using our package. Thanks for seeing!!!
Download discord-robots
const { userDM, userBan, userKick, userMsgReact, maths, send, addRole, removeRole, dateAgo, timeout, chatBot } = require("discord-robots")
How to use
const { userDM, userBan, userKick, userMsgReact, maths, send, addRole, removeRole, dateAgo, timeout, chatBot } = require("discord-robots")
const Discord = require("discord.js");
const client = new Discord.Client()
client.on("ready", async () => {
console.log(`${client.user.tag} is now online.`);
});
client.on("message" , message => {
maths(1, "+", 1)
userKick(userID,"Reason", message) //message is the message type...
userBan(userID,"Reason", message)
userMsgReact(userID, emojiID, message)
send(messagetosend, channel, message)
addRole(roleID,userID, message)
removeRole(roleID,userID, message)
userDM(userID, content, message)
dateAgo(message.author.createdAt)
const msgd = message.channel.send("hi")
timeout(message, msgToDelete,time) // timeout(message, msgd,100000)
chatBot(message, args.join(" "))
})
client.login("Discord-Bot-Token");
If you want to grow your discord bot you can add your bot here: https://dbots.ml/addbot