Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aadhu2005/helper-djs
- Owner: AADHU2005
- Created: 2022-03-26T13:49:04.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T12:05:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-12T03:20:23.441Z (4 months ago)
- Topics: automeme, discord, discord-js, error-handling, helper-djs, meme-generator, nodejs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/helper-djs
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# helper-djs
Helper Djs is a powerful [Node.js](https://nodejs.org/) module## 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)