ezbot
v1.1.4
Published
An easy to use / setup / install discord bot!
Downloads
14
Readme
EZbot is a bot which is EZ to install.
To install just do npm i ezbot and it will install
After that require the module in an index.js file like so:
index.js:
const ezbot = require('ezbot');
Then make a config.js
config.js:
module.exports.bot = {
token: 'Get this at discordapp.com/developers',
prefix: '!',
presence: 'The bots status',
presenceType: '' //Should the bot be "listening", "playing" or "watching"
},
module.exports.channels = {
welcome: 'welcomeChannelID',
leave: 'leaveChannelID',
log: 'logChannelID',
modlog: 'modlogChannelID',
report: 'reportCHannelID'
},
module.exports.spamfilter = { //Coming soon
//Layout for kick: ['kick','none']
firstOffense: ['punishment', 'amount/time'], //Leave empty if no punishment should be taken
secondOffense: ['punishment','amount/time'], //Leave empty if no punishment should be taken
thirdOffense: ['punishment','amount/time'], //Leave empty if no punishment should be taken
fourthOffense: ['punishment','amount/time'], //Leave empty if no punishment should be take
fifthOffense: ['punishment','amount/time'] //Leave empty if no punishment should be taken
},
module.exports.automod = { //Coming soon
spamfilter: true/false, //Determines if filter is enabled or not.
swearwordsfilter: true/false, //Determines if filter is enabled or not.
advertisefilter: true/false //Determines if filter is enabled or not.
}
Update log:
Added kick and report command (1.0.7 / 1.0.8) Added botinfo command (1.1.0) Added welcomer (1.1.3) Discord: Add me on discord for support: miniDeathStriker#3439