guildExists

abstract fun guildExists(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Boolean(source)

Checks whether a guild with the specified id exists.

Return

true if the guild exists, false otherwise.

Parameters

tablePrefix

the prefix, if any, to use.

id

the id of the guild to check.

Throws

if an error occurs while checking for the guild.