📌 1.0.0
This commit is contained in:
220
README.md
220
README.md
@@ -17,30 +17,6 @@ A correct and understandable issue contains :
|
||||
|
||||
You can also join me on my <a href="https://discord.gg/qvzwqaM">discord server.</a>
|
||||
|
||||
# Changelog
|
||||
|
||||
## v0.1.9
|
||||
- Added options for the wanted.
|
||||
- The base image has been updated
|
||||
- There is now a random price diplayed
|
||||
- You can now configure a currency
|
||||
- Added .thomas()
|
||||
|
||||
## v0.1.11
|
||||
- Added .tatoo()
|
||||
- Updated JSDoc
|
||||
|
||||
## v1.1.12
|
||||
- Saved all examples to imgur
|
||||
|
||||
## v1.1.13
|
||||
- Added example for .tatoo()
|
||||
- Fixed the litle hole at the top of the users pic on .thomas()
|
||||
|
||||
## v1.1.14
|
||||
- Updated .thomas() example
|
||||
|
||||
|
||||
# Download
|
||||
|
||||
You can download it from <a href="https://www.npmjs.com/package/discord-image-generation">npmjs</a>.
|
||||
@@ -78,7 +54,7 @@ bot.on("message", async (message) => {
|
||||
// Get the avatarUrl of the user
|
||||
let avatar = message.author.displayAvatarURL({ dynamic: false, format: 'png' });
|
||||
// Make the image
|
||||
let img = await DIG.delete(avatar)
|
||||
let img = await DIG.delete().getImage(avatar)
|
||||
// Add the image as an attachement
|
||||
let attach = new Discord.MessageAttachment(img, "delete.png");;
|
||||
message.channel.send(attach)
|
||||
@@ -91,102 +67,154 @@ bot.login("super_secret_token")
|
||||
|
||||
# Available images
|
||||
|
||||
- .blur(`<Avatar>`, `<Level(Number)>`);
|
||||
|
||||
## Filters
|
||||
|
||||
- .Blur().getImage(`<Avatar>`, `<Level(Number)>`);
|
||||
|
||||

|
||||
|
||||
- .facepalm(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .gay(`<Avatar>`);
|
||||
- .Gay().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .rip(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .trash(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .circle(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .greyscale(`<Avatar>`);
|
||||
- .Greyscale().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .kiss(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .sepia(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .mms(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .spank(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .color(`<Color>`);
|
||||
|
||||
> An hex color is needed, like "#FF0000"
|
||||
|
||||

|
||||
|
||||
- .triggered(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .hitler(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .batslap(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .bed(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .invert(`<Avatar>`);
|
||||
- .Invert().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .wanted(`<Avatar>`, `<Currency>`);
|
||||
- .Sepia().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
|
||||
## Gifs
|
||||
|
||||
- .Blink().getImage()
|
||||
|
||||

|
||||
|
||||
- .Triggered().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
|
||||
## Montage
|
||||
|
||||
- .Affect().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Batslap().getImage(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .Beautiful().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Bed().getImage(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .Delete().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Facepalm().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Hitler().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Jail().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Kiss().getImage(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .Mms().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Rip().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Spank().getImage(`<Avatar>`, `<Avatar2>`);
|
||||
|
||||

|
||||
|
||||
- .Tatoo().getImage(`<Avatar>`)
|
||||
|
||||

|
||||
|
||||
- .Thomas().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Trash().getImage(`<Avatar>`);
|
||||
|
||||

|
||||
|
||||
- .Wanted().getImage(`<Avatar>`, `<Currency>`);
|
||||
|
||||
> Currency ($, €, ...)
|
||||
|
||||

|
||||
|
||||
- .beautiful(`<Avatar>`);
|
||||
|
||||

|
||||
## Utils
|
||||
|
||||
- .jail(`<Avatar>`);
|
||||
- .Circle().getImage(`<Avatar>`);
|
||||
|
||||

|
||||

|
||||
|
||||
- .affect(`<Avatar>`);
|
||||
- .Color().getImage(`<Color>`);
|
||||
|
||||

|
||||
> An hex color is needed, like "#FF0000"
|
||||
|
||||
- .delete(`<Avatar>`);
|
||||

|
||||
|
||||

|
||||
# Changelog
|
||||
|
||||
- .thomas(`<Avatar>`);
|
||||
## v1.0.0
|
||||
- Changed the full structure
|
||||
- Sorted all files in folders
|
||||
- Sorted all files in the README
|
||||
- Fixed .wanted() text bug
|
||||
- Added .blink()
|
||||
- Added a timeout options for .triggered()
|
||||
- Fixed the triggered example not animated
|
||||
- Added some keywords
|
||||
- Bumped jimp from ^0.12.1 to ^0.13.0
|
||||
- Added workflow to auto publish to npm and github packages on push
|
||||
|
||||

|
||||
|
||||
- .tatoo(`<Avatar>`)
|
||||
## v0.1.14
|
||||
- Updated .thomas() example
|
||||
|
||||

|
||||
## v0.1.13
|
||||
- Added example for .tatoo()
|
||||
- Fixed the litle hole at the top of the users pic on .thomas()
|
||||
|
||||
## v0.1.12
|
||||
- Saved all examples to imgur
|
||||
|
||||
## v0.1.11
|
||||
- Added .tatoo()
|
||||
- Updated JSDoc
|
||||
|
||||
## v0.1.9
|
||||
- Added options for the wanted.
|
||||
- The base image has been updated
|
||||
- There is now a random price diplayed
|
||||
- You can now configure a currency
|
||||
- Added .thomas()
|
Reference in New Issue
Block a user