funny picture go brrr
- Made with ❤️ and python
An Open Source Image distortion discord bot based on the old version of @DistortBot on twitter build by @SergioSV96.
Click here to add DeformBot to your discord server.
DeformBot's command prefix is §
.
You can display the help message with §help
.
Reacting to an image with the 🤖
-emoji will trigger DeformBot to process it.
Additionally §deform
alias §d
causes the bot to use the attached image of the message containing the command (or the image replied to with a command).
[NOTE] $
now works as a prefix too!
Arguments for the §d
command can be used as follows:
§deform [option0][value] [option1][value] ...
option | description | value type | value range |
---|---|---|---|
l | seam carving factor | int | [0; 100] |
s | swirl | int | [-360; +360] |
n | noise | int | [0; 100] |
b | blur | int | [0; 100] |
c | contrast | int | [-100; 100] |
o | implode | int | [-100; 100] |
d | shepard's distortion (IWD) | int | [0; 100] |
w | wave | int | [0; 100] |
r | rotate (clockwise) | int | [-360; +360] |
f | flip (horizontal, vertical) | string | ['h','v'] |
a | anaglyph (cyan-red 3D) | bool | |
i | invert colors | bool | |
g | grayscale colors | bool | |
u | disable compression | bool |
All arguments can be arbitrarily combined or left out.
Only integer values are accepted, I advise to play around with those values to find something that looks good.
Examples for Discord:
§deform
(default arguments)
§deform s35 n95 l45 c+40 b1
§deform l50 s25 c+30 n70 g
§deform l0 u
(this outputs the original image)
@DeformBot on Twitter will distort an image, if you tag him in the replies.
To use command arguments simply append them after the mention.
@DeformBot [option0][value] [option1][value] ...
Examples for Twitter:
@DeformBot
(default arguments)
@DeformBot s35 n95 l45 c+40 b1
@DeformBot l50 s25 c+30 n70 g
@DeformBot l0 u
(this outputs the original image)
Here you can check out DeformBot's privacy policy.
- GIF support [beta]
- trigger typing indicator [beta]
- search for last image on command if nothing else is found [beta]
- fix reply to sensitive image not being sensitive on twitter
- fix twitter functions blocking shard heartbeat
- deform multiple images on twitter [beta]
- .PNG support
- invalid argument error embed on discord refers to twitter
- pictures with alpha channel can be buggy sometimes
- blur argument must be placed before noise
- the output of a slash command can be flipped vertically
@rupansh for the idea