GhettoSway/discord-cs2updates — reverse-engineered prompt

Reverse engineered prompt

Build me a simple Discord bot that watches for new Counter Strike 2 patch notes and posts them into a Discord channel automatically.

I want it to be easy to run locally with Node. It should use a small env file for the bot token and the channel ID, and let me optionally set the embed color, a thumbnail image, and how often it checks for updates. If I do not set those extras, use sensible defaults.

The bot should check the official Counter Strike update source on a timer, detect when a brand new patch note appears, and post a nice embed in my server. It should not repost the same update over and over, so keep track of the last one that was sent. Keep the setup simple with install and start commands, and make the code easy to extend later if I want to also handle regular Counter Strike blog posts, not just patch notes.

If anything is unclear, look up the current Discord and Counter Strike docs online.

Want more depth? Deep Reverse