Experimental browser for the Atmosphere
{ "uri": "at://did:plc:355lbopbpckczt672hss2ra4/li.plonk.paste/3lkf64noc5k2k", "cid": "bafyreieusz67wizqvn2drpc336t65gy4tnn3xbrupud3miztamypd7sipm", "value": { "code": "import time\r\nimport os\r\n\r\ndef tell_willow_i_love_her(use_speech=False):\r\n \"\"\"Tells Willow you love her, either by speech or printing.\"\"\"\r\n\r\n message = \"Willow, I love you so much!\"\r\n\r\n if use_speech:\r\n try:\r\n # For macOS (using 'say')\r\n os.system(f\"say '{message}'\")\r\n except:\r\n print(\"Speech functionality failed. Printing message instead.\")\r\n print(message)\r\n\r\n else:\r\n print(\"--------------------------\")\r\n print(\" For Willow, with love! \")\r\n print(\"--------------------------\")\r\n print(\"\")\r\n print(message)\r\n print(\"\")\r\n print(\"--------------------------\")\r\n print(\" *Sending bunny kisses* \")\r\n print(\"--------------------------\")\r\n\r\n #optional bunny sounds!\r\n time.sleep(1)\r\n print(\" *thump thump* \") #bunny thumping sound\r\n time.sleep(1)\r\n print(\" *nibble nibble* \") #bunny eating sound\r\n time.sleep(1)\r\n print(\" *snuffle snuffle* \") #bunny nose sound\r\n\r\n# Example usage (change use_speech to True if you want it spoken):\r\ntell_willow_i_love_her(use_speech=False) #or tell_willow_i_love_her(use_speech=True)", "lang": "plaintext", "$type": "li.plonk.paste", "title": "hi willow", "shortUrl": "GC", "createdAt": "2025-03-15T03:19:18.183Z" } }