Instance Method

reply(with:then:)

Replies to a channel

Declaration

func reply(with message: [String : Any], then completion: ((Message?, RequestError?) -> Void)? = nil)

Parameters

message

Dictionary containing information on the message

Message Options

Refer to Discord’s documentation on the message body https://discord.com/developers/docs/resources/channel#create-message-json-params