|
|
@@ -51,7 +51,7 @@ export async function handleScheduledEvent(
|
|
|
console.log(`Sending notification to user ${key.name}...`);
|
|
|
|
|
|
// Create a message for the new event
|
|
|
- const message = `🎉 New event available: ${newEvent.name}\nDate: ${newEvent.event_date}\n\nView details: /event\\_${newEvent.id}`;
|
|
|
+ const message = `🎉 新活动上线: *${newEvent.name}*\n日期: ${newEvent.event_date}\n\n查看详情: /event\\_${newEvent.id}`;
|
|
|
|
|
|
// Send message to user via Telegram API
|
|
|
const sendResult = await bot.api.sendMessage(userId, message, { parse_mode: 'Markdown' });
|