Constructor # new DatabaseHandler() Source: handlers/DatabaseHandler.js, line 9 Methods # (static) init(client, dbPath) → {module:handlers/DatabaseHandler~DatabaseHandler} Initialise the DatabaseHandler. Parameters: Name Type Description client module:discord.js~Client The Discord client this DatabaseHandler is attached to. dbPath String The path to the database. Source: handlers/DatabaseHandler.js, line 50 Returns: A reference to the DatabaseHandler class. Type module:handlers/DatabaseHandler~DatabaseHandler # (static) operation(f) → {any} Run a function on the Parameters: Name Type Description f function The function to run on the database. Source: handlers/DatabaseHandler.js, line 78 Returns: The result of the function. Type any