createGuild

abstract fun createGuild(@NotNull prefix: @NotNull String, id: String, data: 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.