Skip to content

Commit

Permalink
Merge pull request #5 from kcoderhtml/rocket-speed
Browse files Browse the repository at this point in the history
rocket speed
  • Loading branch information
taciturnaxolotl authored Feb 16, 2024
2 parents 11eb1c3 + 7f36d17 commit 4a1b892
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion utils/slack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function get10DaysLeaderboard(start: Date, end: Date) {
});

// display the leaderboard in markdown format
const leaderboardFormatted = `# 10 Days in Public Leaderboard from ${start.toISOString().split("T")[0]} to ${end.toISOString().split("T")[0]}\nGood Luck and have fun!\n\n${generateLeaderboardTable(users)}`;
const leaderboardFormatted = `# 10 Days in Public Leaderboard from ${start.toISOString().split("T")[0]} to ${end.toISOString().split("T")[0]}\nGood Luck and have fun!🚀\n\n${generateLeaderboardTable(users)}`;

return leaderboardFormatted;
}
2 changes: 2 additions & 0 deletions utils/streaming.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export function streamData(req: Request, res: Response, message: string) {
speed = 55;
} else if (char === "🐇") {
speed = 5;
} else if (char === "🚀") {
speed = 1;
} else {
setTimeout(
() => {
Expand Down

0 comments on commit 4a1b892

Please sign in to comment.