Instance Method

send(_:to:then:)

Sends a message to channel

Declaration

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

Parameters

content

String containing message

channelId

Channel to send message to