Skip to content

Commit 6ba6b5d

Browse files
author
scinorandex
committed
Remove GCash message
1 parent 3affb03 commit 6ba6b5d

File tree

3 files changed

+1
-14
lines changed

3 files changed

+1
-14
lines changed

src/utils/generateOutput.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ export const generateOutput: (
3939

4040
response += lines.sponsorMessage; // support msg
4141

42-
// Include GCash message if the query is to the PH
43-
response += chartType.toLowerCase().includes("philippines")
44-
? lines.GCashMessage.blue + "\n"
45-
: "";
46-
4742
// @ts-expect-error: Missing type definitions causes TS to highlight brightRed
4843
response += `${lines.BMCLink}\n`.brightRed; //BMC link
4944

src/utils/generatePlainOutput.ts

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ export const generatePlainOutput: (
2424
let timestamp = getTimestamp(metainfo.updated as number);
2525
let saying = getSaying();
2626

27-
// Include GCash message if the query is to the PH
28-
let GCashMessage = chartType.toLowerCase().includes("philippines")
29-
? lines.GCashMessage + "\n"
30-
: "";
31-
3227
// Generate table
3328
let table = "";
3429

@@ -71,9 +66,7 @@ export const generatePlainOutput: (
7166
`\n${saying}\n`,
7267
]);
7368

74-
responseArray.push(
75-
`${lines.sponsorMessage}${GCashMessage}${lines.BMCLink}`
76-
);
69+
responseArray.push(`${lines.sponsorMessage}${lines.BMCLink}`);
7770

7871
if (!quiet)
7972
responseArray.push(

src/utils/getResponses.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const lines = {
99
defaultHeader: `COVID-19 Tracker & CLI v${version}`,
1010
helpMessage: `Help: Try to append the URL with /help to learn more...`,
1111
sponsorMessage: `Love this project? Help us to help others by means of coffee!\n`,
12-
GCashMessage: `(GCash) +639176462753`,
1312
BMCLink: `(Buy Me A Coffee) warengonza.ga/coffee4dev`,
1413
twitterPlug: `Follow me on twitter for more updates!\n`,
1514
handleHashtag: ["@warengonzaga", "#covid19trackercli"],

0 commit comments

Comments
 (0)