/helper-djs

A small helper package for discord.js users

Primary LanguageJavaScript

helper-djs

Helper Djs is a powerful Node.js module

Discord server npm version npm downloads

Features

  • Error Handler
  • Auto Meme

Requirement

  • node v16.14

Installation

npm install helper-djs

Bot Setup [ErrorHandler]

const { Client } = require("discord.js")
const client = new Client({
  intents: 32767, //All the intents
})

const { ErrorHandler } = require('helper-djs')

new ErrorHandler({ webhook: "webhook url" })

client.login('Secret Token')

Bot Setup [AutoMeme]

const { Client } = require("discord.js")
const client = new Client({
  intents: 32767, //All the intents
})

client.on('ready', () => {
  console.log('Ready!!')

  const { AutoMeme } = require('helper-djs')
  const automeme = new AutoMeme({
    guild: "Guild ID",
    channel: "Channel ID",
    interval: 120000 // you can set interval between 30000 to 300000
  })

  automeme.start(client)
})

client.login('Secret Token')

If you need any help then feel free to join the Support Server