Skip to content

Commit

Permalink
Add missing includes in fcmlistenerlite
Browse files Browse the repository at this point in the history
  • Loading branch information
alexemanuelol committed Sep 5, 2023
1 parent 68fe5f7 commit f6674a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/util/FcmListenerLite.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ const PushReceiver = require('push-receiver');

const Constants = require('../util/constants.js');
const DiscordEmbeds = require('../discordTools/discordEmbeds.js');
const DiscordMessages = require('../discordTools/discordMessages.js');
const DiscordTools = require('../discordTools/discordTools.js');
const InstanceUtils = require('../util/instanceUtils.js');
const Map = require('../util/map.js');
const Scrape = require('../util/scrape.js');

module.exports = async (client, guild, steamId) => {
Expand Down Expand Up @@ -212,6 +214,8 @@ async function pairingEntitySmartAlarm(client, guild, full, data, body) {
everyone: entityExist ? alarms[body.entityId].everyone : false,
name: entityExist ? alarms[body.entityId].name : client.intlGet(guild.id, 'smartAlarm'),
message: entityExist ? alarms[body.entityId].message : client.intlGet(guild.id, 'baseIsUnderAttack'),
lastTrigger: entityExist ? alarms[body.entityId].lastTrigger : null,
command: entityExist ? alarms[body.entityId].command : body.entityId,
id: entityExist ? alarms[body.entityId].id : body.entityId,
image: entityExist ? alarms[body.entityId].image : 'smart_alarm.png',
location: entityExist ? alarms[body.entityId].location : null,
Expand Down

0 comments on commit f6674a2

Please sign in to comment.