#Hi, how do I change the text color of a variable?

11 messages · Page 1 of 1 (latest)

willow aspen
#

I want to change the text color of a certain variable so that I can use it in a string later.

scenic forgeBOT
#

Once your question has been answered, please close this post with </resolve:1050379261372006400> command!

pine crown
#

erm.. what?

#

??xy

cunning mauveBOT
# pine crown ??xy

The XY problem is when you really want to do X, and you think that Y can achieve X. However, you can't get Y to work, and so ask for help exclusively about Y.

This can lead to a lot of confusion from the people trying to help you, as Y can seem like a very random thing to want to do, and a lot of the time isn't the best way to achieve X anyway.

Its fine to ask about Y, just always include some context about X so you can be put on the right track if Y won't do X well, or there is an easier way to do X.

willow aspen
# pine crown erm.. what?

I want the first part of the text in calback.data.tell to be yellow text, the other to be white. I hope it's clear?

pine crown
#

tell(Text.yellow('this is yellow text ').append(Text.red('and this is red text.')).append(Text.green(' Bonus bold green text!').bold())

willow aspen
#

Lord, thank you good man!

pine crown
#

??kjswiki

cunning mauveBOT
pine crown
#

for a lot more info and more examples of that sorta stuff