match request update

This commit is contained in:
VinceC
2024-11-28 04:59:46 -06:00
parent 26a5edeb4f
commit 119891730d
3 changed files with 21 additions and 15 deletions

View File

@@ -1,7 +1,6 @@
// src/services/NotificationService.js
const express = require('express');
const { createMatchRequestEmbed } = require('../utils/embedBuilders');
const { createMatchRequestEmbed } = require('../utils/EmbedBuilders');
const { createMatchActionRow } = require('../utils/componentBuilders');
class NotificationService {
@@ -57,7 +56,7 @@ class NotificationService {
try {
const channel = await this.bot.client.channels.fetch(subscription.channel_id);
const embed = createMatchRequestEmbed(matchData);
const actionRow = createMatchActionRow(matchData.game_id);
const actionRow = createMatchActionRow(matchData.game_name);
await channel.send({
embeds: [embed],