async get(type) {
    let data;

    if (db.settings.get(`notification.types.${type}`).value()) {
      try {