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. This method will only update the embed for yourself, though if nobody else saw the original embed before it was changed on your website, Discord will show them the latest content. 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 Alternatively, you can clear Discord's cache by opening the Chromium dev tools (ctrl + i), clearing the cache, and then reloading (ctrl + shift + r). Msg = await client.wait_for('message', timeout=30.0, check=check)Īwait ctx.send('You did not answer in time. Embedded messages can help make your discord server look cleane. Return m.author = ctx.author and m.channel = ctx.channel This video will show you how to create a embedded reaction role menu for your discord server. "What is the color of the embed? This should be a hex color."] for green, what Embed expects would look like this: discord. Questions = ["Which should be the tile of the embed?", 5 Answers Sorted by: 4 You need to convert the user input in ntent to a RGB color value. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |