127 lines
3.8 KiB
Markdown
127 lines
3.8 KiB
Markdown
<a href="https://nodei.co/npm/discord-image-generation/"><img src="https://nodei.co/npm/discord-image-generation.png?downloads=true&downloadRank=true&stars=true"></a>
|
|
|
|
<a href="https://discord.gg/qvzwqaM"><img src="https://discord.com/api/guilds/661897530459684865/widget.png" alt="Discord server"/></a>
|
|
|
|
# discord-image-generation
|
|
|
|
A powerfull module that allow you to generate awesome images.
|
|
|
|
# Bugs and glitches
|
|
|
|
Feel free to report all bugs and glitches by creating an issue in the <a href="https://github.com/Mr-KayJayDee/discord-image-generation/issues">issue section.</a>
|
|
|
|
A correct and understandable issue contains :
|
|
- Steps to reproduce
|
|
- Code that summonned the error
|
|
- The complete error
|
|
|
|
You can also join me on my <a href="https://discord.gg/qvzwqaM">discord server.</a>
|
|
|
|
# Download
|
|
|
|
You can download it from <a href="https://www.npmjs.com/package/discord-image-generation">npmjs</a>.
|
|
|
|
```cli
|
|
npm i discord-image-generation
|
|
```
|
|
|
|
# Configuration
|
|
|
|
The first step is to import the module in your code.
|
|
|
|
```js
|
|
const DIG = require("discord-image-generation");
|
|
```
|
|
|
|
# Available images
|
|
|
|
- .blur(`<Avatar>`, `<Level(Number)>`);
|
|
|
|

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

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

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

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

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

|
|
|
|
- .greyscale(`<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>`);
|
|
|
|

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

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

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

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

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

|