getPreview

open suspend fun getPreview(): GuildPreview(source)

Returns the preview of this guild. The bot does not need to present in this guild for this to complete successfully.

This property is not resolvable through cache and will always use the RestClient instead.

Throws

if the guild does not exist or is not public.

if the preview was not found.