I've encountered a interesting situation.. My bot is using the "Random Pokéstop"-function as well as the "Stop at Pokéstop if there is a Lure"..
So, my bot stopped due to a Lure, camped there, and as you can see in the pic below it didn't try to catch the nearby Pokémon. Sure, I don't mind at all if I lose few Pokémon and it's no big deal, but it kind off contradicts the purpose of camping for Pokémon then.
(Blurred most of it, I know. Better safe than sorry

)
Propsed solution:
- Implement a simple Radius from the coordinates used for "camping the Lured Pokéstop". If there is a Pokémon within the radius, catch it. 10 Meters? 20? 30?-ish
..Or a more complex version which makes the bot look more human, which I'm always aiming for. As should we all.
- The bot takes note of the coordinates used to camp the Lured Pokéstop. Make the bot use a certain movement pattern
as randomized as possible, for example:
"Camping coords 1X.2Y for Lure." -> "Searching for Pokémon" -> "No Pokémon found within radius." -> "Choosing movement pattern 35" -> "Pattern 35: Move 10 meters East to X.Y" -> "Searching for Pokémon" -> "No Pokémon found within radius." -> "Choosing movement pattern 7" -> "Pattern 7: Move 15 meters west to X.Y" -> "Searching for Pokémon" -> "Catching Rattata (or whatver)" -> etc. etc. etc.
At the point where I wrote "etc. etc. etc." the bot should continue this type of thing, or something similar, and choose randomly within 1-5 minutes to use "Pattern 0: Move back to Lured Pokéstop at 1X.2Y" to be able to repeat the process. And to be more human, the bot should as well choose randomly how many cycles of this process it should perform per Lured Pokéstop. Between 0 to 3 for example. Making it more human that you rest sometimes, and sometimes you walk around..
Wow, wall of text. I can only hope that someone read it all, and if you did - thank you!
I just want to contribute to this great project. I have many ideas and if any of the devs wants to get in touch with me, please do. I'd be honored to help
Thank you for your hard work.