addCode

open fun addCode(code: String, uses: Int, creator: Player)(source)

Add a new code to a guild

Parameters

code

the code being added

uses

the amount of uses it has

creator

the creator of the code