kartof

1.2.7 • Public • Published

discordBadge downloadsBadge versionBadge

NPM Info

An Utility Package For Discord Bots!

📂・Installation

npm i kartof

Packages Used

mongoose
discord.js@13.6.0
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
  });

Readme

Keywords

none

Package Sidebar

Install

npm i kartof

Weekly Downloads

1

Version

1.2.7

License

ISC

Unpacked Size

20.4 kB

Total Files

5

Last publish

Collaborators

  • kartofchi