(payload: any, helpers: JobHelpers)
| 4 | import { Logger } from '../helpers/logger'; |
| 5 | |
| 6 | export const discordIntegration = async (payload: any, helpers: JobHelpers) => { |
| 7 | const logger = new Logger(helpers.logger); |
| 8 | |
| 9 | logger.info(payload); |
| 10 | |
| 11 | const bots = getAllBots(); |
| 12 | for (const bot of bots) { |
| 13 | await cleanUpIntegrations(bot.PRIVATE_TOKEN, bot.botNum, logger); |
| 14 | } |
| 15 | }; |
nothing calls this directly
no test coverage detected