Instance Method

send(_:to:then:)

Sends an embed to channel

Declaration

func send(_ content: Embed, to channelId: Snowflake, then completion: ((Message?, RequestError?) -> Void)? = nil)

Parameters

content

Embed to send as message

channelId

Channel to send message to