User to get DM for
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
-
func getDM(for userId: Snowflake, then completion: @escaping (DM?, RequestError?) -> Void)
userId
User to get DM for