kartof
v1.2.7
Published
Package for multyguild welcome and goodbye and memes ( discord.js v13 now
Downloads
7
Readme
An Utility Package For Discord Bots!
📂・Installation
npm i kartof
Packages Used
mongoose
[email protected]
node-fetch
canvacord
discord-canvas
mathjs
Installation
npm:
npm i kartof
yarn:
yarn add kartof
💡・Features
- Welcome/GoodBye - multyguild!
- Memes!
- Calculator With buttons!
- Random images!
connect to database
So first you will need to connect so use welcome-goodbye
kartof.connect( mongoDB URL )
Set welcome-goodbye channel
kartof.goodbye_welcome_set({
message: message,
guildID: message.guild.id,
channelID: message.channel.id
});
Send goodbye message
kartof.goodbye({
message: message,
guildID: member.guild.id,
username: member.username,
discriminator: member.discriminator,
avatarimg: member.avatarURL,
memberCount: member.guild.memberCount
});
Send welcome message
kartof.welcome({
message: message,
guildID: member.guild.id,
username: member.username,
discriminator: member.discriminator,
avatarimg: member.avatarURL,
memberCount: member.guild.memberCount
});
meme
meme command for some reason
kartof.meme({
message: message,
channelID: message.channel.id
});
random image
meme command for some reason
kartof.random_image({
message: message,
channelID: message.channel.id
});
Calculator With Buttons
Only the memeber with that userID can control the calculator
kartof.calculator({
message: message,
expire_time: Time in seconds,
channelID: message.channel.id,
userID: message.member.id
});