a chatGPT QQBot by python
#how to use it
1 download go-cqhttp at https://github.com/Mrs4s/go-cqhttp/releases/tag/v1.0.0-rc5
- threading
- re
- requests
- socket
- json
- traceback
- typing import List
- PIL
- openai ensure they are the latest versions
- create an API_KEY on openai.com and add it into line 16
- add an admin in line 18
- add your QQ group id into line 20
- set the way to re your Bot reply in line 23
- create your prompt words in line 25