1.3.3 • Published 2 years ago

discord.js-extend v1.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

logo

Instalation

npm i discord.js-extend

Example

const Client = require('discord.js')
const { PLugins } = require('discord.js-extend')
const client = new Client(...)
client.functions = new Plugins(client)

client.on('messageCreate', (message) => {
  const prefix = '!'
  if(message.author.bot) return
  if(!message.content.startsWith(prefix)) return
  const args = message.content.slice(prefix.length).trim().split(/ +/g)
  const command = args.shift().toLowerCase()

  if(command === 'banner'){
    message.channel.send(client.functions.userBanner(message.args[0]))
  }
})

| method | options | | .userBanner | user, dynamic? | | .findUser | message, filter? | | .findMember | message, filter?, guild? | |---|---|

1.3.3

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.1.6

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.1.3

3 years ago

1.0.4

3 years ago

1.1.2

3 years ago

1.0.10

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago