Skip to content

Commit

Permalink
Attach stream number to Tiltify integration failure webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
zoton2 committed Feb 18, 2024
1 parent 5b3d4f1 commit c7a75a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/extension/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ sc.runDataActiveRun.on('change', (newVal, oldVal) => {
|| (obs.connected && !obs.isCurrentScene(config.obs.names.scenes.gameLayout)))) {
// Only trigger these changes if the new run has a scheduled time, which means it was
// imported from an external schedule. This stops manually added runs (like bonus runs)
// Having things erased.
// having things erased.
if (sc.runDataActiveRun.value && newVal && newVal.scheduled) {
if (config.event.shorts !== 'swcf') commentators.value.length = 0;
// If not online and flagcarrier is enabled,
Expand Down
3 changes: 2 additions & 1 deletion src/extension/tracker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ async function updateDonationTotalFromAPITiltify(init = false): Promise<void> {
webhookUrl,
{
content: `${userId ? `<@${userId}> ` : ''}There may be an issue with the esa-layouts `
+ 'Tiltify integration with RabbitMQ messages!',
+ 'Tiltify integration with RabbitMQ messages! '
+ `(sent from stream ${nodecg().bundleConfig.event.thisEvent})`,
},
);
nodecg().log.debug('[Tracker] Discord webhook sent');
Expand Down

0 comments on commit c7a75a8

Please sign in to comment.