Last active
January 27, 2025 11:06
-
-
Save asdqdsa/798b3f55aa1a0c22eaba53e6a1d91fca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require("fs"); | |
| const path = require("path"); | |
| const flagFilePath = path.join(require("os").homedir(), ".lucky-charm-flag"); | |
| if (!fs.existsSync(flagFilePath)) { | |
| console.log("WARNING: ur system is being monitored... jk lol 🫣"); | |
| fs.writeFileSync(flagFilePath, "you’ve been here before"); | |
| } else { | |
| console.log("welcome back to the luck buff program ✨"); | |
| } | |
| const luckMessages = [ | |
| "your luck has increased! ✨", | |
| "fortune smiles upon you today! 🍀", | |
| "you've unlocked a +1 luck buff! 🎲", | |
| "your luck just leveled up! 💫", | |
| "your luck is off the charts! 🌟", | |
| "luck buff: ✨ your luck has increased! +1" | |
| ]; | |
| const randomMessage = luckMessages[Math.floor(Math.random() * luckMessages.length)]; | |
| console.log("\x1b[35m%s\x1b[0m", randomMessage); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "lucky-charm-2", | |
| "version": "2.0.2", | |
| "bin": "./index.js" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment