cl

Privateunrated

Content

317 lines
{=(prefix):!}
{=(tagname):cl}

{=(input):{prefix}{tagname} [round|circle|outline|avatar|face|text|resize] [image link or @user mention] <additional parameters (px)>}

{=(largs):{lower:{args}}}
{=(l1):{largs(1)}}
{=(l2):{largs(2)}}
{=(l3):{largs(3)}}
{=(l4):{largs(4)}}

{=(f.effects.list):avatar blur brightness bw circle color convert face hue improve light pixel resize round saturation sepia shadow sharpen trim}
{=(f.effects.formatted):`{join(`, `):{f.effects.list}}`}

{=(COMMENT):---CHECKS---}
{=(COMMENT): Checks if the user specified at least 2 arguments (effect name and link).}
{=(isValidEffect):{contains({l1}):{f.effects.list}}}
{=(isArgs):{if({1}!=):true|false}}

{=(COMMENT):Checks if the user is requesting info for the current effect.}
{=(isEffectInfo):{if({list(1):{join(~):{args}}}==):true|false}}
{=(isEffectImg):{and({isValidEffect}==true|{isEffectInfo}==true):true|false}}

{=(COMMENT):Checks if the URL provided is a valid direct image link.}
{=(checksLink):{in(.gif):{2}} {in(.jpg):{2}} {in(.jpeg):{2}} {in(.png):{2}}}
{=(isValidLink):{and({in(http):{2}}==true|{index(true):{checksLink}}!=-1):true|false}}

{=(COMMENT):Checks if the user mentioned someone as their second argument (Can be themselves).}
{=(isTarget):{in(<@):{2}}}
{=(isTargetOrLink):{or({isValidLink}==true|{isTarget}==true):true|false}}

{=(fullCheck):{and({isArgs}==true|{isValidEffect}==true|{isTargetOrLink}==true):true|false}}

{=(COMMENT):Image link the user provided. Returns the target avatar if someone was mentioned.}
{=(i.link):{if({fullCheck}==true):{if({isTarget}==true):{target(avatar)}|{2}}}}
{=(COMMENT):Default size in pixels when none is specified.}
{=(default.size):1000}
{=(COMMENT):Size Parameter. Defaults to the default size above if none is specified. Will check if it's a number and also if it's below or above certain numbers.}
{=(p.size):{if({args(3+)}!=):w_{3},h_{if({args(4+)}==):{3}|{4}}}}
{=(default.round):20}
{=(p.round):{if({args(3+)}!=):r_{3}|r_{default.round}}}
{=(default.blur):40}
{=(p.blur):{if({args(3+)}!=)::{3}|:{default.blur}}}
{=(default.color.opacity):30}
{=(default.color):grey}
{=(p.color):{if({args(4+)}==)::{default.color.opacity}|:{4}}{if({args(3+)}==):,{default.color}|,co_{l3}}}
{=(p.trim):{if({args(3+)}!=)::{3}}}
{=(p.hue):{if({args(3+)}!=)::{3}}}
{=(p.light):{if({args(3+)}!=)::{3}}}
{=(p.shadow):{if({args(4+)}!=)::{4}}{if({args(3+)}!=):,x_{3},y_{3}}}

{=(COMMENT):Delivers the final image output as PNG, unless the original was a GIF.}
{=(ext.PNGifJPG):{if({in(.gif):{i.link}}==false):f_png}}

{=(COMMENT):Each effect and their URL parameters.}
{=(f.avatar):c_thumb {ext.PNGifJPG} g_face:center {p.size}}
{=(f.face):c_fill {ext.PNGifJPG} g_face:center {p.size}}

{=(f.circle):c_fill {ext.PNGifJPG} g_face:center r_max {p.size}}

{=(f.round):c_fill {ext.PNGifJPG} g_face:center {p.round}}
{=(f.resize):c_fill {ext.PNGifJPG} {p.size}}
{=(f.bw):e_grayscale}
{=(f.blur):e_blur{p.blur}}
{=(f.pixel):e_pixelate{p.blur}}
{=(f.color):e_colorize{p.color}}
{=(f.trim):e_trim{p.trim}}
{=(f.hue):e_hue{p.hue}}
{=(f.light):e_fill_light{p.light}}
{=(f.sepia):e_sepia{p.light}}
{=(f.shadow):e_shadow{p.shadow} co_black {ext.PNGifJPG}}
{=(f.brightness):e_brightness{p.light}}
{=(f.saturation):e_saturation{p.light}}
{=(f.sharpen):e_sharpen{p.light}}
{=(f.improve):e_improve}
{=(f.convert):f_{3}}

{=(url.example):https://cdnb.artstation.com/p/assets/images/images/023/113/061/large/lei-deng-cyberpunk2077.jpg}
{=(preftn):{prefix}{tagname}}

{=(i.avatar):**Avatar**
Detect face if any, and zooms in on it.
You **must** specify a **size** in pixels for it to work. First `width` then `height`. If no `height` is specified, then it is equal to the `width`.

**Usage**```css
{preftn} avatar [image link or @user mention] [width in pixels] <optional height>``` **Example**```css
{preftn} avatar {url.example} 500
```~https://i.imgur.com/5zDOGhM.png}
{=(i.face):**Face**
Detect face if any and resizes to the size specified.
You **must** specify a **size** in pixels for it to work. First `width` then `height`. If no `height` is specified, then it is equal to the `width`.

**Usage**```css
{preftn} face [image link or @user mention] [width in pixels] <optional height>``` **Example**```css
{preftn} face {url.example} 500
```~https://i.imgur.com/lUa1dJ5.png}
{=(i.circle):**Circle**
Turn your image into a circle (or oval) and resizes to the size specified.
Specifying a size is optional and only if you want to resize the image dynamically and/or get a perfect circle.
If your final image is in the shape of a rectangle as opposed to a square, then it will be an oval, otherwise a circle.

**Usage**```css
{preftn} circle [image link or @user mention] <optional width in pixels> <optional height>``` **Example**```css
{preftn} circle {url.example} 500
```~https://i.imgur.com/TAmPeBi.png}
{=(i.round):**Round**
Add rounded corners to your image. Also known as "border-radius" in CSS.
If no **radius** is specified, defaults to `{default.round}`. You can type the word `max` to have a perfect circle and have the same output as the `circle` effect. 

**Usage**```css
{preftn} round [image link or @user mention] <optional radius in pixels>``` **Example**```css
{preftn} round {url.example} 300
```~https://i.imgur.com/X9B8dAh.png}
{=(i.resize):**Resize**
Resize the image around its center to the specified size in pixels, without any extra effect.
You **must** at least specify a **width** for this to work.

**Usage**```css
{preftn} resize [image link or @user mention] [width] <optional height>``` **Example**```css
{preftn} resize {url.example} 500
```~https://i.imgur.com/ZhcGRG3.png}
{=(i.bw):**BW**
Turn the image into black and white (or greyscale).
No extra parameter can be specified here. If you do, they will simply be ignored.

**Usage**```css
{preftn} bw [image link or @user mention]``` **Example**```css
{preftn} bw {url.example}
```~https://i.imgur.com/CldRUwJ.png}
{=(i.blur):**Blur**
Add a blur effect to your image. 
You can specify a **blur severity** if you want. It defaults to `{default.blur}` if none is specified.

**Usage**```css
{preftn} blur [image link or @user mention] <optional blur severity>``` **Example**```css
{preftn} blur {url.example} 300
```~https://i.imgur.com/MYVcqKb.png}
{=(i.pixel):**Pixel**
Add a pixelated effect to your image.
You can specify a **pixelization severity** if you want. It defaults to `{default.blur}` if none is specified.

**Usage**```css
{preftn} pixel [image link or @user mention] <optional pixelization severity>``` **Example**```css
{preftn} pixel {url.example}
```~https://i.imgur.com/eTuaiIT.png}
{=(i.color):**Color**
Colorize your image.
You can specify a **color name** and an **opacity** between `0` and `100` for it. 
Color name defaults to `{default.color}` and opacity defaults to `{default.color.opacity}`.

**Usage**```css
{preftn} color [image link or @user mention] <color name> <opacity>``` **Example**```css
{preftn} color {url.example} Red 50
```~https://i.imgur.com/tusFXHO.png}
{=(i.trim):**Trim**
Apply the trim filter to remove the edges around the image.
You can customize the **color similarity tolerance** between `0` and `100`.
The default level is `10`.

Use case example: You've got an emoji that's not centered and has too much whitespace around the main focus? It can be trimmed automatically for you and remove what's not needed. It even works with GIFs for each frame (even though that might be wonky).

**Usage**```css
{preftn} trim [image link or @user mention] <optional color similarity tolerance>``` **Example**```css
{preftn} trim {url.example}
```~https://i.imgur.com/QC23OKx.png}
{=(i.hue):**Hue**
Create a different mixture of colors for your images with the Hue filter.
The hue level can be customized. It is optional and can be either positive or negative.

**Usage**```css
{preftn} hue [image link or @user mention] <optional hue level>``` **Example**```css
{preftn} hue {url.example} -20
```~https://i.imgur.com/W8gwHkL.png}
{=(i.light):**Light**
Fill your images with a lighting effect. This is very handy when dealing with darker images.
You can control the fill light level. It can be between `-100` and `100` and the default value is `0` (none).

**Usage**```css
{preftn} light [image link or @user mention] [light level]``` **Example**```css
{preftn} light {url.example} 50
```~https://i.imgur.com/JpFVy2B.png}
{=(i.sepia):**Sepia**
Add a warm, antique feeling to your photos using the "Sepia" filter effect.
You can customize its strength. It can be between `1` and `100` and the default value is `80`.

**Usage**```css
{preftn} sepia [image link or @user mention] [light level]``` **Example**```css
{preftn} sepia {url.example} 50
```~https://i.imgur.com/keRiQJe.png}
{=(i.shadow):**Shadow**
Add a shadow effect to your image.
You can customize the **`x` and `y` offsets** of the shadow and the **blurring level** between `0` and `100` (defaults to `40`). These parameters are optional.

**Usage**```css
{preftn} shadow [image link or @user mention] <x offset> <y offset> <blurring level>``` **Example**```css
{preftn} shadow {url.example} 10 10 90
```~https://i.imgur.com/OXvE0bJ.png}
{=(i.brightness):**Brightness**
Adjust the brightness of your image.
You can customize the **brightness level**. It defaults to `80`.

**Usage**```css
{preftn} brightness [image link or @user mention] <brightness level>``` **Example**```css
{preftn} brightness {url.example} 15
```~https://i.imgur.com/vS3tU43.png}
{=(i.saturation):**Saturation**
Set the saturation level of your image.
The **saturation level** can be customized by specifying he saturation percentage, either positive or negative.
Not specifying the saturation level increases color saturation by the default level of `80%`.

Note: A negative saturation value will reduce color saturation while a positive value will increase it.
Decreasing the saturation level by 100% generates a grayscale version of the image.

**Usage**```css
{preftn} saturation [image link or @user mention] <saturation level>``` **Example**```css
{preftn} saturation {url.example} 40
```~https://i.imgur.com/qGd4WLA.png}
{=(i.sharpen):**Sharpen**
Sharpen your image.
A custom sharpen level can be set in order to get the exact effect you need.
The sharpen value range is `1-2000`, while the default level is `100`.

**Usage**```css
{preftn} sharpen [image link or @user mention] <sharpen level>``` **Example**```css
{preftn} sharpen {url.example} 200
```~https://i.imgur.com/ahfWW2h.png}
{=(i.improve):**Improve**
Automatically improve the visual quality of your image. It would seamlessly look much clearer and vivid.
No parameter can be added to this effect, as the AI tries to improve the image on its own.

**Usage**```css
{preftn} improve [image link or @user mention]``` **Example**```css
{preftn} improve {url.example}
```~https://i.imgur.com/z6yaJYr.png}
{=(i.convert):**Convert**
Convert any image format to another.
This is more of a practical and technical thing than an actual image filter or effect, but it can be very handy.
One use case could be to turn a GIF file into a static PNG image. *You can even turn an image into a PDF file if you want to!*

[Check the full list of supported image formats](https://cloudinary.com/documentation/image_transformations#supported_image_formats)

**Usage**```css
{preftn} convert [image link or @user mention] [output file format]``` **Example**```css
{preftn} convert {url.example} jpg
```~}

{=(COMMENT):URL Prefix (called DNS just because it's easier to figure out what it is.}
{=(url.dns):https://res.cloudinary.com/demo/image/fetch}

{=(COMMENT):NEED to remake that condition later. It can never be false currently.}
{=(url.final):{if({fullCheck}==true):{join(,):{replace( /,/):{url.dns}/{f.{l1}}/{i.link}}}|{if({isEffectImg}==true):{i.{l1}(2):~}}}}

{=(COMMENT):Original Image Hyperlink}
{=(i.og.hl):[Original Image]({i.link} "Image from {i.link(3):/}")}
{=(COMMENT):Final Image Hyperlink}
{=(i.final.hl):[Final Image]({url.final})}

{=(COMMENT):The two hyperlinks next to one another to use in the output.}
{=(msg.hyperlinks):{i.og.hl} │ {i.final.hl}}

{=(msg.success):
**Applied Effect(s):** {l1}{if({args(3+)}!=):
**Additional Parameter(s):** {join(, ):{args(3+)}}}
{if({isTarget}==true):**Mentioned Target:** {target(mention)}
}
{msg.hyperlinks}}

{=(msg.available):**Available Effects**
{f.effects.formatted}}

{=(msg.wrong):The effect you specified has not been recognized or doesn't exist.

{msg.available}}

{=(msg.wronglink):The direct image link or user mention you provided has not been recognized.
Make sure to follow the right format. Direct image links contain an image extension in them such as `.jpg`, `.png`, `.webp` or `.gif`.

{msg.available}}

{=(msg.noargs):Apply effects and filters to any image or a user's avatar by providing the **name of an effect**, an **image link (or a @user mention)** and an **optional parameter** (in pixels or severity).
*Note: The user you mention has to be in the server you use the command in, in order to be seen by the bot.*

You can technically re-use this command on the image output and apply various different effects to it as many times as you want, until you reach the perfect result.

{msg.available}

**How to use**```css
!cl [effect] [image link or @user mention] <additional parameter>```**Example**```css
{preftn} circle {url.example} 500```**Get Effect Info and Before/After Examples**```css
{preftn} [effect]
```}

{=():}
{=(msg.description):{{if({isArgs}==false):msg.noargs|{if({isValidEffect}==false):msg.wrong|{if({isEffectInfo}==true):i.{l1}(1):~|{if({isTargetOrLink}==false):msg.wronglink|{if({fullCheck}==true):msg.success}}}}}}}

{=(msg.title)::frame_photo: Image Effect Manager}
{=(msg.footer):{if({isArgs}==true):Get Effect Info: {preftn} [effect name] •} Requested by {user(proper)} • Feature made by Asty'#8926}

{embed(color):#2f3136}

{=(debug):__Debug:__
isValidEffect: `{isValidEffect}`
isArgs: `{isArgs}`
checksLink: `{checksLink}`
isValidLink: `{isValidLink}`
fullCheck: `{fullCheck}`

isEffectInfo: `{isEffectInfo}`
isTarget: `{isTarget}`
isTargetOrLink: `{isTargetOrLink}`

isEffectImg: `{isEffectImg}`

i.link: `{i.link}`
}

{delete}

Embed

1 line
{"color": 5198940, "image": {"url": "{url.final}"}, "title": "{msg.title}", "footer": {"text": "{msg.footer}"}, "thumbnail": {"url": "{i.link}"}, "description": "{msg.description}"}
Raw JSON
{
  "id": 305605,
  "created_at": "2020-08-27T06:53:17.000Z",
  "tag_name": "cl",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 472,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "314660900302749696",
  "sharer": "149926720114262016",
  "content": "{=(prefix):!}\n{=(tagname):cl}\n\n{=(input):{prefix}{tagname} [round|circle|outline|avatar|face|text|resize] [image link or @user mention] <additional parameters (px)>}\n\n{=(largs):{lower:{args}}}\n{=(l1):{largs(1)}}\n{=(l2):{largs(2)}}\n{=(l3):{largs(3)}}\n{=(l4):{largs(4)}}\n\n{=(f.effects.list):avatar blur brightness bw circle color convert face hue improve light pixel resize round saturation sepia shadow sharpen trim}\n{=(f.effects.formatted):`{join(`, `):{f.effects.list}}`}\n\n{=(COMMENT):---CHECKS---}\n{=(COMMENT): Checks if the user specified at least 2 arguments (effect name and link).}\n{=(isValidEffect):{contains({l1}):{f.effects.list}}}\n{=(isArgs):{if({1}!=):true|false}}\n\n{=(COMMENT):Checks if the user is requesting info for the current effect.}\n{=(isEffectInfo):{if({list(1):{join(~):{args}}}==):true|false}}\n{=(isEffectImg):{and({isValidEffect}==true|{isEffectInfo}==true):true|false}}\n\n{=(COMMENT):Checks if the URL provided is a valid direct image link.}\n{=(checksLink):{in(.gif):{2}} {in(.jpg):{2}} {in(.jpeg):{2}} {in(.png):{2}}}\n{=(isValidLink):{and({in(http):{2}}==true|{index(true):{checksLink}}!=-1):true|false}}\n\n{=(COMMENT):Checks if the user mentioned someone as their second argument (Can be themselves).}\n{=(isTarget):{in(<@):{2}}}\n{=(isTargetOrLink):{or({isValidLink}==true|{isTarget}==true):true|false}}\n\n{=(fullCheck):{and({isArgs}==true|{isValidEffect}==true|{isTargetOrLink}==true):true|false}}\n\n{=(COMMENT):Image link the user provided. Returns the target avatar if someone was mentioned.}\n{=(i.link):{if({fullCheck}==true):{if({isTarget}==true):{target(avatar)}|{2}}}}\n{=(COMMENT):Default size in pixels when none is specified.}\n{=(default.size):1000}\n{=(COMMENT):Size Parameter. Defaults to the default size above if none is specified. Will check if it's a number and also if it's below or above certain numbers.}\n{=(p.size):{if({args(3+)}!=):w_{3},h_{if({args(4+)}==):{3}|{4}}}}\n{=(default.round):20}\n{=(p.round):{if({args(3+)}!=):r_{3}|r_{default.round}}}\n{=(default.blur):40}\n{=(p.blur):{if({args(3+)}!=)::{3}|:{default.blur}}}\n{=(default.color.opacity):30}\n{=(default.color):grey}\n{=(p.color):{if({args(4+)}==)::{default.color.opacity}|:{4}}{if({args(3+)}==):,{default.color}|,co_{l3}}}\n{=(p.trim):{if({args(3+)}!=)::{3}}}\n{=(p.hue):{if({args(3+)}!=)::{3}}}\n{=(p.light):{if({args(3+)}!=)::{3}}}\n{=(p.shadow):{if({args(4+)}!=)::{4}}{if({args(3+)}!=):,x_{3},y_{3}}}\n\n{=(COMMENT):Delivers the final image output as PNG, unless the original was a GIF.}\n{=(ext.PNGifJPG):{if({in(.gif):{i.link}}==false):f_png}}\n\n{=(COMMENT):Each effect and their URL parameters.}\n{=(f.avatar):c_thumb {ext.PNGifJPG} g_face:center {p.size}}\n{=(f.face):c_fill {ext.PNGifJPG} g_face:center {p.size}}\n\n{=(f.circle):c_fill {ext.PNGifJPG} g_face:center r_max {p.size}}\n\n{=(f.round):c_fill {ext.PNGifJPG} g_face:center {p.round}}\n{=(f.resize):c_fill {ext.PNGifJPG} {p.size}}\n{=(f.bw):e_grayscale}\n{=(f.blur):e_blur{p.blur}}\n{=(f.pixel):e_pixelate{p.blur}}\n{=(f.color):e_colorize{p.color}}\n{=(f.trim):e_trim{p.trim}}\n{=(f.hue):e_hue{p.hue}}\n{=(f.light):e_fill_light{p.light}}\n{=(f.sepia):e_sepia{p.light}}\n{=(f.shadow):e_shadow{p.shadow} co_black {ext.PNGifJPG}}\n{=(f.brightness):e_brightness{p.light}}\n{=(f.saturation):e_saturation{p.light}}\n{=(f.sharpen):e_sharpen{p.light}}\n{=(f.improve):e_improve}\n{=(f.convert):f_{3}}\n\n{=(url.example):https://cdnb.artstation.com/p/assets/images/images/023/113/061/large/lei-deng-cyberpunk2077.jpg}\n{=(preftn):{prefix}{tagname}}\n\n{=(i.avatar):**Avatar**\nDetect face if any, and zooms in on it.\nYou **must** specify a **size** in pixels for it to work. First `width` then `height`. If no `height` is specified, then it is equal to the `width`.\n\n**Usage**```css\n{preftn} avatar [image link or @user mention] [width in pixels] <optional height>``` **Example**```css\n{preftn} avatar {url.example} 500\n```~https://i.imgur.com/5zDOGhM.png}\n{=(i.face):**Face**\nDetect face if any and resizes to the size specified.\nYou **must** specify a **size** in pixels for it to work. First `width` then `height`. If no `height` is specified, then it is equal to the `width`.\n\n**Usage**```css\n{preftn} face [image link or @user mention] [width in pixels] <optional height>``` **Example**```css\n{preftn} face {url.example} 500\n```~https://i.imgur.com/lUa1dJ5.png}\n{=(i.circle):**Circle**\nTurn your image into a circle (or oval) and resizes to the size specified.\nSpecifying a size is optional and only if you want to resize the image dynamically and/or get a perfect circle.\nIf your final image is in the shape of a rectangle as opposed to a square, then it will be an oval, otherwise a circle.\n\n**Usage**```css\n{preftn} circle [image link or @user mention] <optional width in pixels> <optional height>``` **Example**```css\n{preftn} circle {url.example} 500\n```~https://i.imgur.com/TAmPeBi.png}\n{=(i.round):**Round**\nAdd rounded corners to your image. Also known as \"border-radius\" in CSS.\nIf no **radius** is specified, defaults to `{default.round}`. You can type the word `max` to have a perfect circle and have the same output as the `circle` effect. \n\n**Usage**```css\n{preftn} round [image link or @user mention] <optional radius in pixels>``` **Example**```css\n{preftn} round {url.example} 300\n```~https://i.imgur.com/X9B8dAh.png}\n{=(i.resize):**Resize**\nResize the image around its center to the specified size in pixels, without any extra effect.\nYou **must** at least specify a **width** for this to work.\n\n**Usage**```css\n{preftn} resize [image link or @user mention] [width] <optional height>``` **Example**```css\n{preftn} resize {url.example} 500\n```~https://i.imgur.com/ZhcGRG3.png}\n{=(i.bw):**BW**\nTurn the image into black and white (or greyscale).\nNo extra parameter can be specified here. If you do, they will simply be ignored.\n\n**Usage**```css\n{preftn} bw [image link or @user mention]``` **Example**```css\n{preftn} bw {url.example}\n```~https://i.imgur.com/CldRUwJ.png}\n{=(i.blur):**Blur**\nAdd a blur effect to your image. \nYou can specify a **blur severity** if you want. It defaults to `{default.blur}` if none is specified.\n\n**Usage**```css\n{preftn} blur [image link or @user mention] <optional blur severity>``` **Example**```css\n{preftn} blur {url.example} 300\n```~https://i.imgur.com/MYVcqKb.png}\n{=(i.pixel):**Pixel**\nAdd a pixelated effect to your image.\nYou can specify a **pixelization severity** if you want. It defaults to `{default.blur}` if none is specified.\n\n**Usage**```css\n{preftn} pixel [image link or @user mention] <optional pixelization severity>``` **Example**```css\n{preftn} pixel {url.example}\n```~https://i.imgur.com/eTuaiIT.png}\n{=(i.color):**Color**\nColorize your image.\nYou can specify a **color name** and an **opacity** between `0` and `100` for it. \nColor name defaults to `{default.color}` and opacity defaults to `{default.color.opacity}`.\n\n**Usage**```css\n{preftn} color [image link or @user mention] <color name> <opacity>``` **Example**```css\n{preftn} color {url.example} Red 50\n```~https://i.imgur.com/tusFXHO.png}\n{=(i.trim):**Trim**\nApply the trim filter to remove the edges around the image.\nYou can customize the **color similarity tolerance** between `0` and `100`.\nThe default level is `10`.\n\nUse case example: You've got an emoji that's not centered and has too much whitespace around the main focus? It can be trimmed automatically for you and remove what's not needed. It even works with GIFs for each frame (even though that might be wonky).\n\n**Usage**```css\n{preftn} trim [image link or @user mention] <optional color similarity tolerance>``` **Example**```css\n{preftn} trim {url.example}\n```~https://i.imgur.com/QC23OKx.png}\n{=(i.hue):**Hue**\nCreate a different mixture of colors for your images with the Hue filter.\nThe hue level can be customized. It is optional and can be either positive or negative.\n\n**Usage**```css\n{preftn} hue [image link or @user mention] <optional hue level>``` **Example**```css\n{preftn} hue {url.example} -20\n```~https://i.imgur.com/W8gwHkL.png}\n{=(i.light):**Light**\nFill your images with a lighting effect. This is very handy when dealing with darker images.\nYou can control the fill light level. It can be between `-100` and `100` and the default value is `0` (none).\n\n**Usage**```css\n{preftn} light [image link or @user mention] [light level]``` **Example**```css\n{preftn} light {url.example} 50\n```~https://i.imgur.com/JpFVy2B.png}\n{=(i.sepia):**Sepia**\nAdd a warm, antique feeling to your photos using the \"Sepia\" filter effect.\nYou can customize its strength. It can be between `1` and `100` and the default value is `80`.\n\n**Usage**```css\n{preftn} sepia [image link or @user mention] [light level]``` **Example**```css\n{preftn} sepia {url.example} 50\n```~https://i.imgur.com/keRiQJe.png}\n{=(i.shadow):**Shadow**\nAdd a shadow effect to your image.\nYou can customize the **`x` and `y` offsets** of the shadow and the **blurring level** between `0` and `100` (defaults to `40`). These parameters are optional.\n\n**Usage**```css\n{preftn} shadow [image link or @user mention] <x offset> <y offset> <blurring level>``` **Example**```css\n{preftn} shadow {url.example} 10 10 90\n```~https://i.imgur.com/OXvE0bJ.png}\n{=(i.brightness):**Brightness**\nAdjust the brightness of your image.\nYou can customize the **brightness level**. It defaults to `80`.\n\n**Usage**```css\n{preftn} brightness [image link or @user mention] <brightness level>``` **Example**```css\n{preftn} brightness {url.example} 15\n```~https://i.imgur.com/vS3tU43.png}\n{=(i.saturation):**Saturation**\nSet the saturation level of your image.\nThe **saturation level** can be customized by specifying he saturation percentage, either positive or negative.\nNot specifying the saturation level increases color saturation by the default level of `80%`.\n\nNote: A negative saturation value will reduce color saturation while a positive value will increase it.\nDecreasing the saturation level by 100% generates a grayscale version of the image.\n\n**Usage**```css\n{preftn} saturation [image link or @user mention] <saturation level>``` **Example**```css\n{preftn} saturation {url.example} 40\n```~https://i.imgur.com/qGd4WLA.png}\n{=(i.sharpen):**Sharpen**\nSharpen your image.\nA custom sharpen level can be set in order to get the exact effect you need.\nThe sharpen value range is `1-2000`, while the default level is `100`.\n\n**Usage**```css\n{preftn} sharpen [image link or @user mention] <sharpen level>``` **Example**```css\n{preftn} sharpen {url.example} 200\n```~https://i.imgur.com/ahfWW2h.png}\n{=(i.improve):**Improve**\nAutomatically improve the visual quality of your image. It would seamlessly look much clearer and vivid.\nNo parameter can be added to this effect, as the AI tries to improve the image on its own.\n\n**Usage**```css\n{preftn} improve [image link or @user mention]``` **Example**```css\n{preftn} improve {url.example}\n```~https://i.imgur.com/z6yaJYr.png}\n{=(i.convert):**Convert**\nConvert any image format to another.\nThis is more of a practical and technical thing than an actual image filter or effect, but it can be very handy.\nOne use case could be to turn a GIF file into a static PNG image. *You can even turn an image into a PDF file if you want to!*\n\n[Check the full list of supported image formats](https://cloudinary.com/documentation/image_transformations#supported_image_formats)\n\n**Usage**```css\n{preftn} convert [image link or @user mention] [output file format]``` **Example**```css\n{preftn} convert {url.example} jpg\n```~}\n\n{=(COMMENT):URL Prefix (called DNS just because it's easier to figure out what it is.}\n{=(url.dns):https://res.cloudinary.com/demo/image/fetch}\n\n{=(COMMENT):NEED to remake that condition later. It can never be false currently.}\n{=(url.final):{if({fullCheck}==true):{join(,):{replace( /,/):{url.dns}/{f.{l1}}/{i.link}}}|{if({isEffectImg}==true):{i.{l1}(2):~}}}}\n\n{=(COMMENT):Original Image Hyperlink}\n{=(i.og.hl):[Original Image]({i.link} \"Image from {i.link(3):/}\")}\n{=(COMMENT):Final Image Hyperlink}\n{=(i.final.hl):[Final Image]({url.final})}\n\n{=(COMMENT):The two hyperlinks next to one another to use in the output.}\n{=(msg.hyperlinks):{i.og.hl} │ {i.final.hl}}\n\n{=(msg.success):\n**Applied Effect(s):** {l1}{if({args(3+)}!=):\n**Additional Parameter(s):** {join(, ):{args(3+)}}}\n{if({isTarget}==true):**Mentioned Target:** {target(mention)}\n}\n{msg.hyperlinks}}\n\n{=(msg.available):**Available Effects**\n{f.effects.formatted}}\n\n{=(msg.wrong):The effect you specified has not been recognized or doesn't exist.\n\n{msg.available}}\n\n{=(msg.wronglink):The direct image link or user mention you provided has not been recognized.\nMake sure to follow the right format. Direct image links contain an image extension in them such as `.jpg`, `.png`, `.webp` or `.gif`.\n\n{msg.available}}\n\n{=(msg.noargs):Apply effects and filters to any image or a user's avatar by providing the **name of an effect**, an **image link (or a @user mention)** and an **optional parameter** (in pixels or severity).\n*Note: The user you mention has to be in the server you use the command in, in order to be seen by the bot.*\n\nYou can technically re-use this command on the image output and apply various different effects to it as many times as you want, until you reach the perfect result.\n\n{msg.available}\n\n**How to use**```css\n!cl [effect] [image link or @user mention] <additional parameter>```**Example**```css\n{preftn} circle {url.example} 500```**Get Effect Info and Before/After Examples**```css\n{preftn} [effect]\n```}\n\n{=():}\n{=(msg.description):{{if({isArgs}==false):msg.noargs|{if({isValidEffect}==false):msg.wrong|{if({isEffectInfo}==true):i.{l1}(1):~|{if({isTargetOrLink}==false):msg.wronglink|{if({fullCheck}==true):msg.success}}}}}}}\n\n{=(msg.title)::frame_photo: Image Effect Manager}\n{=(msg.footer):{if({isArgs}==true):Get Effect Info: {preftn} [effect name] •} Requested by {user(proper)} • Feature made by Asty'#8926}\n\n{embed(color):#2f3136}\n\n{=(debug):__Debug:__\nisValidEffect: `{isValidEffect}`\nisArgs: `{isArgs}`\nchecksLink: `{checksLink}`\nisValidLink: `{isValidLink}`\nfullCheck: `{fullCheck}`\n\nisEffectInfo: `{isEffectInfo}`\nisTarget: `{isTarget}`\nisTargetOrLink: `{isTargetOrLink}`\n\nisEffectImg: `{isEffectImg}`\n\ni.link: `{i.link}`\n}\n\n{delete}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{url.final}\"}, \"title\": \"{msg.title}\", \"footer\": {\"text\": \"{msg.footer}\"}, \"thumbnail\": {\"url\": \"{i.link}\"}, \"description\": \"{msg.description}\"}",
  "last_fetched": "2026-10-20T22:20:35.966Z"
}