Skip to content

Enhancement Request: Add comprehensive code snippets for embedding content, with emphasis on integrating slash commands #1484

Open
@shubhamlakheraa

Description

@shubhamlakheraa

Is your feature request related to a problem? Please describe.

The issue at hand is that the embed section lacks consistent code snippet references, as compared to the creating your bot section. This discrepancy in the documentation can be confusing, especially for beginners, as they encounter different code snippets within the same guide. It is essential to provide clear and consistent code examples throughout the documentation to avoid any confusion or misunderstanding for programmers.

https://discordjs.guide/creating-your-bot/slash-commands.html#before-you-continue

https://discordjs.guide/popular-topics/embeds.html#using-the-embed-constructor

Describe the solution you'd like

I suggest incorporating an example of the embeds section into the creating slash commands section. This way, programmers can have a better understanding of how to utilize embeds effectively within their slash commands. By integrating the embeds information within the context of slash commands, users will have a more comprehensive and cohesive resource to grasp the usage of embeds in a more programmer-friendly manner.

Please provide your thoughts and insights on this issue and the proposed solution.

Describe alternatives you've considered

No response

Additional notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: requestSuggestion to add new or change existing content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions