-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
There could easily be a conflict as your random generation isn't very high resolution.
Line 56 in 1e513e8
| opts.filename = 'meme-' + randomInt(100, 999) + '.gif'; |
I would use randomInt(100, 99999) and also check if the image exists before writing and generate a new number if it does. You never want to accidentally overwrite an existing image.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels