To use this script you must first create a discord bot, acquire its token, and set the permissions correctly. Then acquire your OpenAI API key and the model you wish to use.
Everything you need to get started is in the config.py, do not run this file, simply open it in an editor and input your settings
Note this is for Completion models only using the OpenAI Completions API, chat-gpt or chat models will not work.
This is mainly intended to be used for self-created models using OpenAI's fine-tuning API.