vovadh.blogg.se

Discord ember color
Discord ember color











I have also tried turning this user input into an integer with no success. I have also tried letting the user input the hex color with the 0x in front of it to no success. Please do it under 30 seconds next time.')Įmbed = discord.Embed(description=answers, title=answers, colour=0x(embedcolor))Īnd I get this error: Synta圎rror: invalid hexadecimal literal Msg = await client.wait_for('message', timeout=30.0, check=check)Īwait ctx.send('You did not answer in time.

discord ember color

I recommend to use Sp圜olor for color picking, it provides decimal value. Color can be defined as number 65280 and as string '65280'. Color requires number instead hex code, so you have to convert hexadecimal color code to decimal number. Return m.author = ctx.author and m.channel = ctx.channel Discord Webhooks Guide color Sets color for webhook's embed. "What is the color of the embed? This should be a hex color."] Questions = ["Which should be the tile of the embed?", docsdef randomizecolour(embed: discord.Embed) -> discord.Embed: Gives the provided embed a random color.

#Discord ember color how to#

I am making a embed/say command for my bot and I am unsure how to let the user choose the embed color by entering a hex color.











Discord ember color