fbchat-dev / fbchat

Facebook Chat (Messenger) for Python
https://fbchat.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.19k stars 412 forks source link

changeThreadColor() is not working for custom colors #643

Open edikiuspro opened 3 years ago

edikiuspro commented 3 years ago

I created custom colors for class ThreadColor Old colors : MESSENGER_BLUE = "#0084ff" VIKING = "#44bec7" GOLDEN_POPPY = "#ffc300" RADICAL_RED = "#fa3c4c" SHOCKING = "#d696bb" PICTON_BLUE = "#6699cc" FREE_SPEECH_GREEN = "#13cf13" PUMPKIN = "#ff7e29" LIGHT_CORAL = "#e68585" MEDIUM_SLATE_BLUE = "#7646ff" DEEP_SKY_BLUE = "#20cef5" FERN = "#67b868" CAMEO = "#d4a88c" BRILLIANT_ROSE = "#ff5ca1" BILOBA_FLOWER = "#a695c7" TICKLE_ME_PINK = "#ff7ca8" MALACHITE = "#1adb5b" RUBY = "#f01d6a" DARK_TANGERINE = "#ff9c19" BRIGHT_TURQUOISE = "#0edcde" New colors: MESSENGER_BLUE = "#0084ff" VIKING = "#44bec7" GOLDEN_POPPY = "#ffc300" RADICAL_RED = "#fa3c4c" SHOCKING = "#d696bb" PICTON_BLUE = "#6699cc" FREE_SPEECH_GREEN = "#13cf13" PUMPKIN = "#ff7e29" LIGHT_CORAL = "#e68585" MEDIUM_SLATE_BLUE = "#7646ff" DEEP_SKY_BLUE = "#20cef5" FERN = "#67b868" CAMEO = "#d4a88c" BRILLIANT_ROSE = "#ff5ca1" BILOBA_FLOWER = "#a695c7" TICKLE_ME_PINK = "#ff7ca8" MALACHITE = "#1adb5b" RUBY = "#f01d6a" DARK_TANGERINE = "#ff9c19" BRIGHT_TURQUOISE = "#0edcde" GRAPE = "#5e007e" TIE_DIE = "#0052cd" TROPICAL = "#9fd52d" SHADOW = "#2825b5" UNICORN = "#3a1d8a" LOLLIPOP = "#4d3ec2" CHILL = "#66a9ff" APPLE = "#aa3232" LAVENDER = "#a797ff" ROCKET = "#3a12ff" HONEY = "#faaf00" OCEAN = "#4d3ec2" LOVE = "#f9005a" MONOCHROME = "#000000" SUSHI = "#f7b267" ROSE = "#ff311e" TINYTAN = "#b841d9" PRIDE = "#8a39ef" MAPLE = "#d9a900" TULIP = "#fb45de" PEACH = "#f25c54" KIWI = "#6edf00" DEFAULT = "#4e4bf5" CLASSIC = "#0099ff" But i have problem because changeThreadColor() is not working for new colors and i don't have anny error

xaadu commented 3 years ago

It doesn't work like that now! No error but it doesn't change color. Only blank color request resets color to default blue. I guess something changed at the API endpoint.