Global

Members

# (constant) Database

Author:
  • retrouser955
Source:

Type Definitions

# AllData

Array of objects containing all users data

Type:
  • array.<object>
Properties
Name Type Description
ID string

the id of the data

UserData UserDataObject

The data of a user

Source:

# DiscordEasyLevelingOptions

Options for discord easy leveling

Type:
  • object
Properties
Name Type Description
startingXP string

The amount of XP you want to user to start with

startingLevel string

The level you want the user to start with

levelUpXP string

The amount of XP need to level up a user

database string

The database you want. This can be json or sqlite

Source:

# UserDataObject

Type:
  • object
Properties
Name Type Description
XPoverTime number

Amount of XP a user has aquired overtime

userId string

Id of the user

level number

Current level of a user

xp number

Current XP of a user

Source: