From 6db3ccdb4074bdde90355ea45ab2628818cc703f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Mon, 11 Sep 2023 13:14:05 -0500 Subject: [PATCH] feat: removed embed buttons --- docs/changelogs/1.12.8.md | 7 +++++++ src/commands/stats.tsx | 2 +- src/commands/today.tsx | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 docs/changelogs/1.12.8.md diff --git a/docs/changelogs/1.12.8.md b/docs/changelogs/1.12.8.md new file mode 100644 index 000000000..56e4419af --- /dev/null +++ b/docs/changelogs/1.12.8.md @@ -0,0 +1,7 @@ +# Blitzkrieg 1.12.8 + +Blitzkrieg is a completely free service and I earn no revenue from it. To keep it sustainable, I have to rely on free services. Unfortunately for embeds, seems like I have exceeded my limits. Before this service starts charging me, I have shut down embeds. They'll hopefully be back in 1.13 alongside the website! Only the future will tell... + +## Changes + +- Removed all embed buttons \ No newline at end of file diff --git a/src/commands/stats.tsx b/src/commands/stats.tsx index f20a5da70..ee3b1cfc2 100644 --- a/src/commands/stats.tsx +++ b/src/commands/stats.tsx @@ -80,7 +80,7 @@ export const statsCommand = new Promise(async (resolve) => { : null, ), primaryButton(path, 'Refresh'), - linkButton(`${CYCLIC_API}/${path}`, 'Embed'), + // linkButton(`${CYCLIC_API}/${path}`, 'Embed'), linkButton( `https://www.blitzstars.com/player/${player.region}/${nickname}`, 'BlitzStars', diff --git a/src/commands/today.tsx b/src/commands/today.tsx index 6c4960e9b..797c40608 100644 --- a/src/commands/today.tsx +++ b/src/commands/today.tsx @@ -66,7 +66,7 @@ export const todayCommand: CommandRegistry = { return [ await today(player, cutoff, maximized, showTotal, false), primaryButton(path, 'Refresh'), - linkButton(`${CYCLIC_API}/${path}`, 'Embed'), + // linkButton(`${CYCLIC_API}/${path}`, 'Embed'), linkButton( `https://www.blitzstars.com/player/${player.region}/${nickname}`, 'BlitzStars',