#Wa-OpenAI
WhatsApp OpenAI Create with NodeJS Using Library Baileys
There are 2 types, namely using commands and without using commands (auto chat).
- If you want to use a command, please change the word
truetofalsein the file key.json
For the command use.ai - If you don't want to use the command (auto chat), please change the word
falsetotruein the file [key.json]https://github.com/dug01/Wa-OpenAI/blob/main/key.json)
- If OpenAI's ApiKey limit is up, please create a new apikey Here
- Replace ApiKey OpenAI in file key.json
Install on RDP/Windows ✅
Install NodeJS and Git Bash first
$ git clone https://github.com/dug01/Wa-OpenAI
$ cd Wa-OpenAI
$ npm install
$ node index. jsInstall on Termux ✅
Please manually install node_modules first, because in Termux when installing automatically via npm install an error occurs.
Link node_modules: Click Here
$ pkg install git nodejs -y
$ git clone https://github.com/dug01/Wa-OpenAI
$ cd Wa-OpenAIAfter installing the node_modules file, please extract the file node_modules.zip and place it in the Wa-OpenAI folder.
Run
$ node index. js##License MIT License
Copyright (c) 2022 Fortune Nowake