LeaPhant / flowabot

Modular Discord bot with fun features including twitch commands and advanced osu! commands. 🌷
MIT License
111 stars 33 forks source link

TypeError on command '!render fail' on passed map #18

Closed Maaster closed 5 years ago

Maaster commented 5 years ago

When running

!render fail

on a recent map that the user has passed, a TypeError is thrown:

[2019-07-14T13:56:50.767Z] Maaster : !render fail [2019-07-14T13:56:50.768Z] render length 4 [2019-07-14T13:56:50.768Z] specified ar undefined [2019-07-14T13:56:50.945Z] score has no replay process beatmap: 460.864ms uncaughtException: TypeError: Cannot read property 'startTime' of undefined at prepareBeatmap (/root/flowabot/renderer/render_frame.js:661:100) at processBeatmap (/root/flowabot/renderer/render_frame.js:575:5) at /root/flowabot/renderer/render_frame.js:623:9 at ReadStream. (/root/flowabot/node_modules/osu-parser/index.js:467:7) at ReadStream.emit (events.js:203:15) at endReadableNT (_stream_readable.js:1129:12) at process._tickCallback (internal/process/next_tick.js:63:19)