1.0.15 • Published 3 years ago

quick-image v1.0.15

Weekly downloads
180
License
ISC
Repository
-
Last release
3 years ago

Hello there have you ever looked for a package with images well here it can be found!

Example:

const Discord = require('discord.js');
const ptp = require('phantom-test-package');

const client = new Discord.Client();

client.on('ready', () => {
	console.log('online');
})


client.on('message', (message) => {
	if(message.content == '.image') {
		let link = ptp.link();
		message.channel.send(link);
	}
});

client.login('')

Welcome Example: First You Need To GuildMemberAdd Event.

client.on('guildMemberAdd', (member) => {
ptp.image(member.user.tag, member.user.displayAvatarURL({format:'png'})).then((img) => {
  let attachment = new Discord.MessageAttachment(img, 'img.png');
  client.channels.cache.get("channel ID").send(attachment)
})

})
1.0.15

3 years ago

1.0.14

3 years ago

1.0.11

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.10

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.0.4

3 years ago

1.0.3

3 years ago