casual-simulation / casualos

Casual Open Simulation for the Web
https://ab1.bot
MIT License
48 stars 8 forks source link

Calling `os.downloadBots()` with an undefined `filename` throws an error #414

Closed KallynGowdy closed 3 months ago

KallynGowdy commented 4 months ago

The title says it all. Calling os.downloadBots(bots, filename) with an undefined filename throws an error, but the error doesn't directly indicate what the problem is. os.downloadBots() should be improved to check for undefined arguments and throw an error that indicates that the argument must be provided.