Ask coding questions

← Back to all posts
Why an Embed will not display in discord
codeMusicGame (0)

From line 60 to line 78 displays a test embed i'm working on. Dosn't display any errors. But fails to display when prompted by the command. Any help would be much appreciated. Thanks in advance regards Heath

Comments
hotnewtop
Coder100 (17018)

indent this

    embed = discord.Embed(
        title = 'Title',
        description = 'this is a description.',
        color = discord.Color.blue()
    )

also it's color not colour

unfortunately, you will have to go with the American spelling.

codeMusicGame (0)

@Coder100 Thankyou, but unfortunately no luck . It is still not working. Its a frustrating one. lol.

Coder100 (17018)

lol
care to send screenshots of what you see? @codeMusicGame

codeMusicGame (0)

@Coder100 Sorry for the late reply. Had to go out. Unfortunately there is not much to show as gives no errors in the console. Which is why it is hard to diagnose..

And discord does nothing when command is displayed, have set all permissions such as allowing embeds to the channel, but still no luck. thanks in advance.

Coder100 (17018)

@codeMusicGame

oh i see, maybe add some bot.command things like command='...'

codeMusicGame (0)

@Coder100 Have updated but still no luck. Hmm and no apparent errors in console or code. That I can see.