retrieveVanityInviteOrNull

Deprecated

Moved to the BotCommands-jda-ktx module You can find & replace: Find: io.github.freya022.botcommands.api.core.utils.retrieveVanityInviteOrNull Replace: dev.freya02.botcommands.jda.ktx.retrieve.retrieveVanityInviteOrNull

Retrieves the Vanity Invite meta-data for this guild, or null if the vanity code is null or when a INVITE_CODE_INVALID error response was caught.

Throws the same exceptions as Guild.retrieveVanityInvite, minus ErrorResponse.INVITE_CODE_INVALID.

See also