LevelsPluginOptions
Popii / LevelsPluginOptions
Interface: LevelsPluginOptions
Section titled “Interface: LevelsPluginOptions”Defined in: plugins/levels.ts:9
Properties
Section titled “Properties”xpPerMessage?
Section titled “xpPerMessage?”
optionalxpPerMessage?:number| [number,number]
Defined in: plugins/levels.ts:10
cooldownMs?
Section titled “cooldownMs?”
optionalcooldownMs?:number
Defined in: plugins/levels.ts:11
onLevelUp?
Section titled “onLevelUp?”
optionalonLevelUp?: (userId,guildId,newLevel,msg) =>void|Promise<void>
Defined in: plugins/levels.ts:12
Parameters
Section titled “Parameters”userId
Section titled “userId”string
guildId
Section titled “guildId”string
newLevel
Section titled “newLevel”number
Message
Returns
Section titled “Returns”void | Promise<void>