createGuild

open fun createGuild(@Nullable tablePrefix: @Nullable String, @NotNull id: @NotNull String, @NotNull data: @NotNull String)(source)

Saves a new Guild to the database.

Parameters

tablePrefix

the prefix, if any, to use.

id

the id of the new guild.

data

the data of the new guild.

Throws

if an error occurs while saving the guild.