gurkult / gurkbot

Our community bot, used for running the server.
MIT License
18 stars 16 forks source link

New Command Suggestion: !bonk #96

Closed ShakyaMajumdar closed 3 years ago

ShakyaMajumdar commented 3 years ago

When invoked, will send a gif of the user mentioned being bonked.

Example: !bonk @hahastinkypoop

out

v1nam commented 3 years ago

is this just inserting the resized pfp in the image array of the gif, and inserting a more resized pfp at the bonking frame?

ShakyaMajumdar commented 3 years ago

Yeah

v1nam commented 3 years ago

nice then

ShakyaMajumdar commented 3 years ago

Should I start working on incorporating it into the bot?

v1nam commented 3 years ago

yah should be good, though can you make the bg transparent :thinking:

ShakyaMajumdar commented 3 years ago

Tried it, didn't quite work out: image

v1nam commented 3 years ago

welp

v1nam commented 3 years ago

What are you doing to make it transparent? wouldn't it be better to make the template transparent from a designing editor or something beforehand?

ShakyaMajumdar commented 3 years ago

What are you doing to make it transparent?

Searches on stackoverflow, lol

wouldn't it be better to make the template transparent from a designing editor or something beforehand?

the original gif is already transparent, it gets messed up only when I paste another image on it.

v1nam commented 3 years ago

That's probably because you are opening it in RGB mode

v1nam commented 3 years ago

Did you try doing it with RGBA?

v1nam commented 3 years ago

Or would be easier if I can look at the code

ShakyaMajumdar commented 3 years ago

code: https://gist.github.com/ShakyaMajumdar/2eeabfadd4536c7291f1b322f31313fa

gustavwilliam commented 3 years ago

Hi, this is a nice command. Two things:

Other than that, great work!

ShakyaMajumdar commented 3 years ago

I dislike that particular gif. Could you use some other one?

Sure, I'll search for some more, am also open to suggestions from others.

Let’s put the avatar in a circle (like it is on Discord)

Think that shouldn't be too hard

Other than that, great work!

Thanks!

vivekashok1221 commented 3 years ago

Hello @ShakyaMajumdar , it is I, Yoda- Jedi Master and Grand Master of the Jedi High Council.

Feel free to open a draft PR if you are just working out ideas.

gustavwilliam commented 3 years ago

This has been merged. Thanks for implementing and reviewing it!