Skip to content

Commit

Permalink
removed roles to ping
Browse files Browse the repository at this point in the history
  • Loading branch information
Frenkii committed Jun 23, 2024
1 parent 4a8cb12 commit fc5c36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jobs/staffingRequest/staffingRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ async function checkStaffingAlerts(config: StaffingConfig, alertCooldown: Record
// send the alert and update the cooldown data
//console.debug(`Sending alert for ${alert.airport}`);

await sendBotMessageInChannel(`${alert.airport} is looking for controllers!`, `${count} pilot(s) waiting for your ATC service. 📡`, alert.mentionRoles );
await sendBotMessageInChannel(`${alert.airport} is looking for controllers!`, `${count} pilot(s) waiting for your ATC service. 📡`);

alertCooldown[alert.airport] = new Date().getTime() + (config.alert_cooldown * 1000 * 60);
}
} catch (error) {}
} catch (error) { }
}

export default {
Expand Down

0 comments on commit fc5c36f

Please sign in to comment.