getGuild

abstract fun getGuild(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Guild(source)

Gets a single guild by id.

Return

the found guild or null if no guild with the specified id was found.

Parameters

tablePrefix

the prefix, if any, to use.

id

the id of the guild to retrieve.

Throws

if an error occurs while retrieving the guild.