Once you've done this, setting the module will be very easy.
And you can follow the code below to get started!
const token = 'YOUR TOKEN HERE';
const {welcome, purge, kick, ban, status, say, mute} = require("discord-bot-maker");
const Discord = require("discord.js");
const bot = new Discord.Client();
welcome(bot, {
privatemsg : "Private Message",
publicmsg : "Public Message",
publicchannelid : "999999999999999999"
});
purge(bot, {
prefix:"!",
purgecommand: "purge",
errormsg: "asd",
nopermmsg: "asd",
});
kick(bot, {
prefix:"!",
kickcommand: "kick",
nopermmsg: "No Perm Error",
mentionerrormsg: "Mention Error",
higherroleerrormsg: "Higher Role Error",
defaultreason: "Default Reason",
kickmsg: "@KICKAUTHOR @KICKEDUSER @REASON"
});
ban(bot, {
prefix:"!",
bancommand: "ban",
nopermmsg: "No Perm Error",
mentionerrormsg: "Mention Error",
higherroleerrormsg: "Higher Role Error",
defaultreason: "Default Reason",
banmsg: "Ban Message"
});
status(bot, {
type: "PLAYING",
title: "Title"
});
say(bot, {
prefix:"!",
nopermmsg: "No Perm Error"
});
mute(bot, {
prefix:"!",
nopermmsg: "No Perm Error",
mentionerrormsg: "Mention Error",
alreadyhasrole: "Already Has Role Error",
roleid: "999999999999999999",
defaultreason: "Default Reason",
mutemsg: "Mute Message"
});
bot.login(token)