match request update
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user