#How to respond with webhook?

1 messages · Page 1 of 1 (latest)

stable ravine
#

I'm trying to figure out how to make a respond for user's command to current chat. Any example please?

Now i do smth like that:

ctx.respond("text message")
livid lichen
#

and that does not work?

stable ravine
#

It just answer as text but i want answer via webhook to make msg more pretty

livid lichen
#

you mean embed?

stable ravine
#

yep

livid lichen
#

that'a a completely different thing...

stable ravine
#

ye i know, but i see how other people do like this

#

there is an example

livid lichen
#

you need to pass an embed object to the ctx.respond method

#

this should help

stable ravine
#

thanks man! now i gonna dig here

fair frigate