valnesfjord / OTB-osu

Opensource Twitch Bot for Osu
MIT License
3 stars 1 forks source link

Bot crashes when a beatmap link is posted in twitch chat #8

Open leijonamieli opened 2 years ago

leijonamieli commented 2 years ago

Running the bot-in-one .exe file.

Below is the error message that shows up in console:


[ERROR] node:internal/process/promises:218 triggerUncaughtException(err, true / fromPromise /); ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "#".] { code: 'ERR_UNHANDLED_REJECTION' } [OTBfO] Bot was crashed due some error [OTBfO] Program will be closed in 10 seconds


All the typical commands work normally.

valnesfjord commented 2 years ago

What kind of link do you post?

leijonamieli commented 2 years ago

https://osu.ppy.sh/beatmapsets/1843240#osu/3786028 This, for example.

As I understand it, the bot is supposed to send a copy of that link as a direct message in game, right?

valnesfjord commented 2 years ago

Yes No one report me this issue ever, i’ll check

leijonamieli commented 2 years ago

Yeah, take your time.

I'm happy to provide any additional info if needed, just let me know what that might be.