jlnpinheiro/discord-webhook-client

Requiring text along side embed

Closed this issue · 14 comments

Would it be possible to use this without having to send text alongside the embed message. As leaving blank throws a error

@crazychris2404 you can send a simple message without anyone embeds.

Is it possible to have embeds without the simple text?

Would it be possible to use this without having to send text alongside the embed message. As leaving blank throws a error

@crazychris2404 you can send messsges with embeds without title or description. The only limitation is the max number of embeds per message is 10.

I cannot send a embed without having any text for this part
image

@crazychris2404 When you try to send a message without embeds whats happening? An exception was throw?

Yes the follow exception is thrown, The message param is invalid: The "content" element cannot be null or empty.

I cannot send a embed without having any text for this part
image

@crazychris2404 the "content" cannot be null becase this is a principal text of a message. Without a content and no embed the message wouldn't say anything!

@jlnpinheiro I want a embed without text above so it has a layout similar to this
image

@jlnpinheiro I want a embed without text above so it has a layout similar to this
image

@crazychris2404 please send me a pull request changing content with not required. Ok?

cxnky commented

@jlnpinheiro i've put a pr through for this.

Can you inform me once a release is made using this PR please @jlnpinheiro

Can you inform me once a release is made using this PR please @jlnpinheiro

@crazychris2404 I haven't created the release yet. When I create I will let you know.

@crazychris2404 @cxnky the release 3.1.0 is avaible! Tks for PR @cxnky ! 👍👊