dbUpdateSettings(username, dark_mode, emoji) {
    return new Promise((resolve, reject) =>
      this.database.run(this.queries.updateSettings, [username, dark_mode, emoji])
      .then(row => resolve(row)))
  }
/**
  * Helper function for updating settings in the database
  * @param {String} username
  * @returns {Promsie}
  */
Helper function for updating settings in the database
@param {String} username
@returns {Promsie}
Helper function for updating settings in the database @param { String } username @returns { Promsie }
dbUpdateSettings(username, dark_mode, emoji) {
    return new Promise((resolve, reject) =>
      this.database.run(this.queries.updateSettings, [username, dark_mode, emoji])
      .then(row => resolve(row)))
  }
dbUpdateSettings ( username , dark_mode , emoji ) { return new Promise ( ( resolve , reject ) => this . database . run ( this . queries . updateSettings , [ username , dark_mode , emoji ] ) . then ( row => resolve ( row ) ) ) }
Helper function for updating settings in the database
 @param {String} username
 @returns {Promsie}
Helper function for updating settings in the database @param { String } username @returns { Promsie }