redii / grepo-tools

MIT License
0 stars 0 forks source link

gold market alert #1

Open stamas1 opened 4 months ago

stamas1 commented 4 months ago

the discord bot i mentioned you yesterday i changed a bit the py code and it does alert for gold on market and for attack.

stamas1 commented 4 months ago

i added you to my private repo of the gold market alarm see it yourself and if can make it to ts

redii commented 4 months ago

Ah nice, I will take a look at it 👍🏼

I also did an other program which monitored the gold market, so I will just have to transfer that code to this project somehow :)

redii commented 4 months ago

Can I ask on which server you're playing?

stamas1 commented 4 months ago

gr99

stamas1 commented 4 months ago

on my cmd it tells me that sh is not recognized as command

Edit: i runned the same commands on Git bash and it tells me this /c/Users/user/.bun/bin/bun: /c/Users/user/.bun/bin/bun: cannot execute binary file

redii commented 4 months ago

I think you have to add Bun to your PATH variable

export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
stamas1 commented 4 months ago

i type these one at a time on Git Bash?

stamas1 commented 4 months ago

Maybe the problem is that i am on windows

redii commented 4 months ago

Hey stamas, i tried to get it running on windows and had some struggles my self since i had to install a vm first and so on...

I read somewhere that it should work if you install Bun in a wsl cli (Linux subsystem in windows). When you have Bun installed there you should be able to run the script.

Bun also allows to compiling this script to an executable .exe file which can be run on windows without the need to install bun. I will have to do some things to get this working but I will keep you updated :)