BinkanSalaryman / Discord-Audio-Stream-Bot

A simple discord audio streaming bot.
229 stars 39 forks source link

error on startup #77

Closed Airostat closed 1 year ago

Airostat commented 1 year ago

can't make work new version. can make work old one with jdk17

delited all java and install last jre 64 1 did make sure path is set 2 still have the error

what am i doing wrong? if i start "run win" it do nothing if i start "run win" as administrator this error pop up 4 if i start "Discord Audio Stream Bot" app log is made app.log

Airostat commented 1 year ago

Solved! path to the .bat must NOT inclune spaces can you rename folder "Discord Audio Stream Bot" without spaces so dumb people like me can just click on "run win" after extraction your folder from zip? p.s. thx for a great tool!

BinkanSalaryman commented 1 year ago

path to the .bat must NOT inclune spaces just click on "run win" after extraction

Why does the path to the batch file even matter on your machine? Usually you can surround a path with "" to make it recognize the whole thing as a path rather than individual arguments split by whitespace characters...

Airostat commented 1 year ago

path to the .bat must NOT inclune spaces just click on "run win" after extraction

Why does the path to the batch file even matter on your machine? Usually you can surround a path with "" to make it recognize the whole thing as a path rather than individual arguments split by whitespace characters...

dont know why) i rename the folder and it suddenly worked tried this https://github.com/BinkanSalaryman/Discord-Audio-Stream-Bot/issues/73#issuecomment-1483914257 and realise that i can not use spase in cmd. tried to rename folder and bot was working fine) dont know, dont care. it worked for me)

i know now that you can use quotation marks in cmd, but it was easy for me at that moment to just rename folder)