#Animated Message Options

1 messages ยท Page 1 of 1 (latest)

eternal galleon
echo cipher
#

Both versions have broken the reaction emojis.

eternal galleon
#

@echo cipher I updated both versions, try them again. Are you using any other emoji-affecting css?

sturdy lodge
#

is there any way to make it not use so many has?

eternal galleon
sturdy lodge
#

โค๏ธ โค๏ธ

eternal galleon
#

@sturdy lodge managed to remove half of the :has

sturdy lodge
#

hooray

gilded zealot
#

Does anyone know how to make the translate button from the translate plugin go one further so emojis is on the end so the reactions make more sense?

sturdy lodge
#

ye I gotchu

sturdy lodge
#

lower = left more

#

you could do the reverse, make add reaction 0, and do increasing numbers for any items you want to the right (translate, foward, reply, three dots), but that might mean missing various items that show up in specific cases

round chasm
#

:has() is very laggy

sturdy lodge
#

yeaaaa

#

there's currently three

round chasm
#

and it collapses all of the buttons at once, not the reaction ones individually

sturdy lodge
#

yea I'll prolly use that version unless author can optimize it

round chasm
#

(still needs to be modified if your language isn't set to english)

gilded zealot
#

Oh ok

#

Thank you

sturdy lodge
#

oop didn't think about that

#

just learning css ๐Ÿ˜…

#

there's a side effect to that

#

the add emoji reaction is at the left now

round chasm
#

that would've happened with yours too

sturdy lodge
#

ye sorry didn't mean to infer it was only with yours

round chasm
#

add .hoverBarButton_f84418

#
.hoverBarButton_f84418[aria-label="Add Reaction"] {
  order: -1;
}
.hoverBarButton_f84418[aria-label^="Click to react with"] {
  order: -2;
}```
gilded zealot
#

I just noticed that

#

I didn't see the reactions before

gilded zealot
sturdy lodge
#

ye that works

#

thank you!

#

I was about to use child elements and stuff ๐Ÿ˜”

gilded zealot
#

Why doesn't it work for me

sturdy lodge
#

send full code

gilded zealot
#

I added it below the rest of the code

sturdy lodge
#

delete my code

gilded zealot
sturdy lodge
#

right above

#

delete those above it

#

the other order: code

gilded zealot
round chasm
#

delete this

sturdy lodge
sturdy lodge
round chasm
#

I use sharex

sturdy lodge
#

ic, thanks!

gilded zealot
#

Oh ok

#

Iโ€™m dumb

#

Sorry

round chasm
gilded zealot
#

Well damn

gilded zealot
#

I only have the bottom 2

sturdy lodge
#

that's Obsidian's code for a non-animated message options

sturdy lodge
gilded zealot
#

Oh ok

#

Yay everything works now

#

Thank you!!!

turbid shard
#

wonder why they are husking this, its not bad though

eternal prairie
#

perfect

#

i've accidentally clicked reactions when focusing the discord window too many times

#

i mean it could still happen theoretically, but way less likely lol

round chasm
#

at least that's why i husked it

#

also the transitions are messed up

#

they define transition twice

#

here's an improved version

+no :has()
+better transition
-quick react emojis don't have their own separate step though
.buttonsInner__5126c>div:not(:last-of-type),
.buttonsInner__5126c>.hoverBarButton_f84418>div {
  width: 0;
  height: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  transition: min-width 0.25s ease-out,
              width     0.25s ease-out,
              height    0.25s ease-out,
              padding   0.25s ease-out,
              opacity   0.25s ease-out,
              transform .4s cubic-bezier(.16,1,.3,1);
}
.buttonsInner__5126c:hover>.hoverBarButton_f84418:not(:last-of-type) {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 2px;
  opacity: 1;
  >div {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
}
.buttonsInner__5126c:hover>.separator_f84418 {
  width: 1px;
  height: 24px;
  margin: 2px 4px;
  opacity: 1;
}
echo cipher
round chasm
#

@eternal galleon having transition: twice doesn't work. only the padding transition is being applied. use transition: width 0.1s ease-out, padding 0.1s ease-out
also transitioning min-width helped the transition i think

echo cipher
#

@round chasm I actually did that, but it still didn't work properly (I even added !important at the end bc it wouldn't apply the property).

round chasm
#

that's unrelated to the emoji problem you were having

pine siren
#

why does this have 15 husks

turbid shard
echo cipher
#

OK, so I found a solution to my emoji problem - all I had to do was add an overflow: hidden to the selector where the transition property is, which looks like this:

#
.buttonsInner__5126c > .button_f7ecac:not(:nth-last-child(2)) {
    width: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent overflow */
    transition: width 0.1s ease-out, padding 0.1s ease-out !important;
}```
#

And this is with @eternal galleon's original snippet (sorry for pinging).

eternal galleon
round chasm
#

and I think the css was worse at first

eternal galleon
round chasm
round chasm
round chasm
eternal galleon
#

ye i did that but i wanna make it for all languages and not just english

round chasm
#

aren't you already using aria labels

eternal galleon
#

only once lol

round chasm
#

yeah you are
also why are you using [aria-label*=Add]

#

why not Add reaction or ^=

round chasm
eternal galleon
#

it's shorter

round chasm
#

at least do ^=

#

*= is way less efficient

round chasm
eternal galleon
round chasm
#

yeah that's not even a long aria label

round chasm
#

except that didn't have the separate emoji stuff

#

doesn't*

eternal galleon
#

oh u mind i take some stuff from ur improved version and put it into mine? i would just @ you

round chasm
#

yeah that's fine

eternal galleon
#

-# (And sorry for triple ping)

round chasm
#

you have width and min-width twice and padding and margin
and you still have unnecessary :has()

#

do you have error/problem highlighting?

#

it's in quickcss

#

it shows when there's dupe things like two widths etc.

eternal galleon
#

no, i'm just using default vs code css editor

round chasm
#

vscode should have it too

#

by default

#

quickcss uses the vscode editor

eternal galleon
#

seems like it doesn't for me

#

what in quick css it does but in vs code itself not

round chasm
#

hmm maybe there's a setting or plugin you need

round chasm
#

oh also better to use :last-of-type

round chasm
round chasm
round chasm
# eternal galleon oh u mind i take some stuff from ur improved version and put it into mine? i wou...

here's a few small things i'd change with your current version

  1. needs the specificity to fix the emoji transition (slide in)
  2. :last-of-type is probably better than :nth-last-child() in this case to be more future proof
  • In my non animated snippet I made a few months ago, I used :last-child at first, and then they added an invisible element after it of a different type, so i switched to :last-of-type
  1. I think you forgot to add opacity
  2. Avoids a :has(), so should be more efficient
  3. More efficient :has() that only has to search direct children instead of all descendants
  4. same as 4
#

(it's still really laggy because of the unavoidable :has() for the seperate emoji step)

eternal galleon
#

i can no longer update the message since nitro is over and the message is to long ๐Ÿ’€

gilded zealot
#

I've seen other people do that

eternal galleon
#

can't add it to a message i'm editing

round chasm
#

maybe just have one in here

#

and link to it

#

or put it on github

eternal galleon
round chasm
#

idk

#

probably import

round chasm
#

oh you should also put the customizable anim speed in the codeblocks

#

(still keep it in the import though)

eternal galleon
#

ohh thanks

round chasm
#

oh just found a small bug

#

add transform .4s cubic-bezier(.16,1,.3,1) to the transition

#

that's applied to the emojis by default, but the transition from your snippet overrides it, so they're not an animated

#

also the .button_f7ecac > div in the less anim version needs more specificity for the same reason

bright belfry
#

the icons are gone for me for some reason and i dont know why :/ it wsa fine yesterday

pine siren
#

sorry i ate them

eternal galleon
#

did i messed up something?

#

i'm taking a look at it later

round chasm
#

yeah, you accidentally included the selector for all the buttons in the snippet for less

#

just deleting that line fixes it

radiant hornet
#

It works fine for the most part. I just found out that it kills the edit button in the status area of Userprofile.

#

I'm using the more animations one.

round chasm
#

it doesn't for me?

radiant hornet
#

Strange

#

Ik it's not my theme cause I disabled it and put the code in quickcss and it killed the edit button

#

I'm using the original more animations one.

round chasm
#

the original?

radiant hornet
#

I think if you try using that one it'd also kill the button for you

round chasm
#

not the newest version?

radiant hornet
#

This one

round chasm
#

i'm using the import

radiant hornet
#

I use the more animations one cause the emojis and react images get in the way and prevent me from clicking links.

#

Wait

#

Nvm I'm so slow

#

I'll just use the one you made.

round chasm
radiant hornet
#

Wait

#

Interesting. I think I had code that did something similar. Cause this is way shorter than the one I removed.

#

OH I was using the outdated one. It makse sense now. Thank you for the help.

#

I'm a little slow is all.

round chasm
#

I would recommend you use mine if you're worried about lag though

radiant hornet
#

There's no llag

round chasm
#

even while typing?

radiant hornet
#

Oh. The previous version wasn't laggy. Strange. Looks like I'll use yours.

round chasm
#

:has() causes typing to be laggy for me

radiant hornet
#

Yeah, no the new version kills discord. I'm using yours now. The old one worked really well. only thing is it killed that one button.

round chasm
#

what was the old version?

radiant hornet
round chasm
#

can you copy it paste it in my dms

radiant hornet
#

If I can find it again. I might have it saved somewhere on here

round chasm
#

can't you just do ctrl+z

radiant hornet
#

I can't cause in the theme I use I saved and closed it. It looks like it was one of the very few I didn't save in a text file.

round chasm
#

ah

radiant hornet
#

Unfortuante.

#

I really wished I saved it though cause there was no lag at all and the theme I use has a bunch of animated stuff in it.

radiant hornet
#

I know it is.

round chasm
#

the only downside to my version is that it doesn't seperate the emoji slide out

radiant hornet
#

I just wanna know why the other is so laggy.

round chasm
#

:has()

#

this single :has() causes all the lag

radiant hornet
#

Interesting

#

WAIT

#

I have a backup of the theme before I made the change

echo cipher
#
.buttonsInner__5126c > .button_f7ecac:not(:nth-last-child(2)) {
    width: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: width 0.1s ease-out, padding 0.1s ease-out !important;
    will-change: width, padding;
}
.buttonsInner__5126c:hover > :not(.separator_f84418, .button_f7ecac:has(div)),
.buttonsInner__5126c:has(
    .button_f7ecac:hover ~ .button_f7ecac[aria-label*="Add"],
    [aria-label*="Add"]:hover
) > .button_f7ecac:has(div) {
    width: 24px;
    min-width: 24px;
    padding: 2px;

> .icon_f84418 {
        width: 20px;
    }
}

.separator_f84418 {
    display: none;
}```
radiant hornet
#

Wha?

echo cipher
#

It may be a bit different, but in general, this is the snippet (I have the More Animations one only).

radiant hornet
#

Oh

echo cipher
#

It's pretty laggy, though...

#

Bc it has multiple :has() selectors.

radiant hornet
#
.button_f7ecac:has(div), .button_f7ecac > div, /* Reactions */
.separator_f84418 /* Seperator */,
.button_f7ecac[aria-label*="Copy"], .button_f7ecac[aria-label*="Copy"] > svg, /* Copy */
.button_f7ecac[aria-label*="Unread"], .button_f7ecac[aria-label*="Unread"] > svg, /* Unread */
.button_f7ecac[aria-label*="Pin"], .button_f7ecac[aria-label*="Pin"] > svg, /* Pin */
.button_f7ecac[aria-label*="Raw"], .button_f7ecac[aria-label*="Raw"] > svg, /* Raw */
.button_f7ecac[aria-label*="Add"], .button_f7ecac[aria-label*="Add"] > svg, /* Add Reaction Selector */
.button_f7ecac[aria-label*="Reply"], .button_f7ecac[aria-label*="Reply"] > svg, /* Reply */
.button_f7ecac[aria-label*="Edit"], .button_f7ecac[aria-label*="Edit"] > svg, /* Edit */
.button_f7ecac[aria-label*="Forward"], .button_f7ecac[aria-label*="Forward"] > svg /* Forward */ {
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: width 0.1s ease-out;
    transition: padding 0.1s ease-out;
}

.buttonsInner__5126c:hover > :not(.separator_f84418, .button_f7ecac:has(div)),
.buttonsInner__5126c:has(.button_f7ecac[aria-label*="Add"]:hover, .button_f7ecac:hover > div, .separator_f84418:hover) > .button_f7ecac:has(div) {
    width: 24px !important;
    min-width: 24px !important;
    padding: 2px !important;
    
    > .icon_f84418 {
        width: 20px !important;
    }
}

.buttonsInner__5126c:has(.button_f7ecac[aria-label*="Add"]:hover, .button_f7ecac:hover > div, .separator_f84418:hover) > .separator_f84418 {
    width: 1px !important;
    margin: 2px 4px !important;
}```
#

This one is pretty much the same as that but alot less laggy

echo cipher
#

Oh, wow... that's a lot of selectors.

#

๐Ÿ˜†

radiant hornet
#

It is but it isn't as laggy

#

I got this one a while back.

nocturne sierra
#

ngl i'd love to see a theme that brings back the old reaction animation that used to exist

round chasm
#

huh

#

what animation is that

nocturne sierra
round chasm
#

do you have a video

nocturne sierra
#

i dont but there used to be some animation for reactions, and it was all the way back in 2020

round chasm
# nocturne sierra i dont but there used to be some animation for reactions, and it was all the way...

think I found what you mean https://youtu.be/-w7XYr22UEw?t=522

In this video, we will learn how to send emojis and add reactions in our bot coded in python using discord.py (rewrite) in 2020.

If you have any suggestions for future videos, leave it in the comments below.

Some Useful Links -

My Discord Server- https://discord.gg/TXF3hBj

My Twitter - https://twitter.com/codewithswastik
My Instagram -...

โ–ถ Play video
nocturne sierra
#

yep!

#

idek why they removed it

round chasm
#

unrelated to this snippet though

nocturne sierra
#

yeah true but it was the closest related to animations

round chasm
#

shouldn't be too hard to implement though

tranquil quartz
#

You don't have to move your cursor to the left of the screen anymore

meager schooner
#

thank you.
I'm going to make an attempt to implement this. it gives me a headache for the motions

Edit got lost: Sorry I didnt mean to go here, wrong place , I hate threads

round chasm
#

implement what?

meager schooner
#

Wait I might have ended up in the wrong area. I'm trying to apply the remove avatar decorations being autoplay

#

but somehow I may have ended up in the wrong thread

#

Sorry I meant to go here, wrong place , I hate threads

nocturne sierra
#

thank you.
I'm going to make an attempt to implement this. it gives me a headache for the motions
@meager schooner

implement what?
@round chasm

yea tbh idek why they removed it, it looks much better tho idk how it would work with super reactions but im sure they'll find a way

round chasm
#

?

#

theyre not talking about the thing you sent

nocturne sierra
round chasm
nocturne sierra
#

uhh my css skills are ass lol, its not the declarations or whatever its just im ass at design lol

round chasm
vital tangle
#

is it normal that more animations make my discord lagging

pine siren
#

Yes

round chasm
#

:has() makes discord lag a ton

pine siren
#
*:has(*) {
  content: ""
}
bitter pine
#

thanks, that fixed my lag

pine siren
#

What