Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aadhu2005/helper-djs

A small helper package for discord.js users
https://github.com/aadhu2005/helper-djs

automeme discord discord-js error-handling helper-djs meme-generator nodejs

Last synced: 4 months ago
JSON representation

A small helper package for discord.js users

Awesome Lists containing this project

README

        

# helper-djs
Helper Djs is a powerful [Node.js](https://nodejs.org/) module



Discord server
npm version
npm downloads


## Features
- Error Handler
- Auto Meme

## Requirement
- node v16.14

## Installation

```sh-session
npm install helper-djs
```

## Bot Setup [ErrorHandler]

```js
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]

```js
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](https://discord.gg/zyRX8nNt7b)