AndBobsYourUncle / stable-diffusion-discord-bot

A Discord bot, written in Go, that interfaces with the Automatic 1111's API interface.
MIT License
128 stars 35 forks source link

program closes immediately #23

Open TimmekHW opened 1 year ago

TimmekHW commented 1 year ago

I ran the command in webui-user.bat ./stable_diffusion_bot -token <MTA5OTcyNDczMDIwMzg5ODAxNg.Gv9MlW.SK00000> -guild <1099726877893075100> --host <webui http://127.08.0.1 sdp -attention --api --listen

also i put stable_diffusion_bot.exe in stable-diffusion-webui folder and copied to /scripts

PS G:\stable-diffusion-webui> ./stable_diffusion_bot -token -guild <1099726877893075100> -host <webui host, e.g. http://127.0.0.1:7860>

where to enter the command to make it work?

TimmekHW commented 1 year ago

i wrote in terminal PS G:\stable-diffusion-webui> ./stable_diffusion_bot -token -guild <1099726877893075100> -host <webui host, e.g. http://127.0.0.1:7860>

MyNuggets666 commented 1 year ago

@TimmekHW change the way you wrote it ( and you shouldnt be sharing tokens i highly advise to reset them and update ) ./stable_diffusion_bot -token MTA5OTcyNDczMDIwMzg5ODAxNg.Gv9MlW.SK00000 -guild 1099726877893075100 -host http://127.0.0.1:7860 personally i use VS code, but you could open the directory in cmd and run it eg open CMD type cd to your dir eg " cd C:\Users\home\Desktop\stable-diffusion-discord-bot-0.2.2 " than type stable_diffusion_bot -token MTA5OTcyNDczMDIwMzg5ODAxNg.Gv9MlW.SK00000 -guild 1099726877893075100 -host http://127.0.0.1:7860