text: Title: I/O Operation on Closed File
  Body: ```
    File "/usr/local/lib/python3.9/dist-packages/discord/http.py", line 371, in request
      raise HTTPException(response, data)
  discord.errors.HTTPException: 400 Bad Request (error code: 50024): Cannot execute action on this channel type
  
  The above exception was the direct cause of the following exception:
  
  Traceback (most recent call last):
    File "/usr/local/lib/python3.9/dist-packages/discord/client.py", line 378, in _run_event
      await coro(*args, **kwargs)
    File "/home/gptbot/gpt3discord.py", line 120, in on_application_command_error
      raise error
    File "/usr/local/lib/python3.9/dist-packages/discord/bot.py", line 1114, in invoke_application_command
      await ctx.command.invoke(ctx)
    File "/usr/local/lib/python3.9/dist-packages/discord/commands/core.py", line 375, in invoke
      await injected(ctx)
    File "/usr/local/lib/python3.9/dist-packages/discord/commands/core.py", line 124, in wrapped
      ret = await coro(arg)
    File "/usr/local/lib/python3.9/dist-packages/discord/commands/core.py", line 1312, in _invoke
      await command.invoke(ctx)
    File "/usr/local/lib/python3.9/dist-packages/discord/commands/core.py", line 375, in invoke
      await injected(ctx)
    File "/usr/local/lib/python3.9/dist-packages/discord/commands/core.py", line 132, in wrapped
      raise ApplicationCommandInvokeError(exc) from exc
  discord.errors.ApplicationCommandInvokeError: Application Command raised an exception: HTTPException: 400 Bad Request (error code: 50024): Cannot execute action on this channel type
  INFO:backoff:Backing off send_chatgpt_chat_request(...) for 0.2s (ValueError: I/O operation on closed file)
  
  
  ```
  Need to find out how to exactly recreate this and then place a traceback.print_exc() in send_chatgpt_chat_request, and then the issue should be very trivial to solve