Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const base = `Hi ${t}. Someone has requested a random gift for YOU! You have received:`;
- const r = Math.floor(Math.random() * 6);
- const trauma = ['Coal for Christmas', 'A Broken Arm', 'Messed up Solo at Band Concert', 'Parents Fighting', 'A Dead Carnival Goldfish'];
- const tarot = ['The Fool - https://bit.ly/3ytJQGY', 'The Magician - https://bit.ly/3N9Vn2v', 'The High Priestess - https://bit.ly/3M6Fw4C', 'The Empress - https://bit.ly/3l0Zv8Y', 'The Emperor - https://bit.ly/38drGyN', 'The Hierophant - https://bit.ly/3M3miwH', 'The Lovers - https://bit.ly/3KXBLx3', 'The Chariot - https://bit.ly/3M6HTo2', 'Strength - https://bit.ly/3L45eoT', 'The Hermit - https://bit.ly/3kVSbLP', 'Wheel of Fortune - https://bit.ly/3N9YqaX', 'Justice - https://bit.ly/3L7gAIK', 'The Hanged Man - https://bit.ly/3Fx77cJ', 'Death - https://bit.ly/3wch4JH', 'Temperance - https://bit.ly/3yBHrKi', 'The Devil - https://bit.ly/3yBHrKi', 'The Tower - https://bit.ly/37F1iNW', 'The Star - https://bit.ly/3stefBp', 'The Moon - https://bit.ly/3w0OuL6', 'The Sun - https://bit.ly/3w32OCK', 'Judgement - https://bit.ly/39SJbVr', 'The World - https://bit.ly/3M38vWQ'];
- const prize = ['A Brand New Car!', 'An all Expenses Paid Trip to Disney World!', 'A Cruise in the Bahammas!', 'One Million Dollars!'];
- switch (r) {
- case 0:
- `${base} Nothing!`;
- break;
- case 1:
- `${base} Traumatic Childhood Experience: ${trauma[Math.floor(Math.random() * trauma.length)]}`;
- break;
- case 2:
- `${base} Tarot Serenade: ${tarot[Math.floor(Math.random() * tarot.length)]}`;
- break;
- case 3:
- `${base} ${Math.floor(Math.random() * 99) + 2} Hip Hip Hurrays!`;
- break;
- case 4:
- `${base} ${prize[Math.floor(Math.random() * prize.length)]}`;
- break;
- case 5:
- `${base} HUGS!!!`;
- break;
- default:
- 'There was an error.';
- }
Add Comment
Please, Sign In to add comment