Instance Method

getDM(for:then:)

Gets a DM for a user

Declaration

func getDM(for userId: Snowflake, then completion: @escaping (DM?, RequestError?) -> Void)

Parameters

userId

User to get DM for