Instance Method

getDM(for:)

Function to get dm from channelId (NOTE: This tries to get a DM from cache)

Declaration

func getDM(for channelId: Snowflake) -> DM?

Parameters

channelId

Channel to get dm from