knrd1 / chatgpt

ChatGPT IRC bot
https://github.com/knrd1/chatgpt
MIT License
38 stars 7 forks source link

How can i make the bot running in the background? #23

Open fhazal opened 1 year ago

fhazal commented 1 year ago

hye i notice when ctrl + z close the phyton process the bot also die, how can i make the bot running 24/7 like eggdrop? and 1 more thing how can i make the bot identify the nickname to the server, the service use /ns identify passwd to identify, please advise.

im using ubuntu vps

knrd1 commented 1 year ago

Thanks for your message, please run the bot on screen session. For Ubuntu it will be:

# sudo apt install screen
# screen
# python3 chatgpt.py

To detach the screen: CTRL + a + d To attach again:

# screen -r

Please see for more details: https://www.howtogeek.com/662422/how-to-use-linuxs-screen-command/


I will look into identification issue.