getGuildWidgetOrNull

open suspend override fun getGuildWidgetOrNull(guildId: Snowflake): GuildWidget?(source)

Requests to get the widget of a Guild with the given id, returns null if the GuildWidget isn't present.

Throws

if anything went wrong during the request.