57 lines
1.2 KiB
Diff
57 lines
1.2 KiB
Diff
From 0974f832051eb8fc80d055b3654d59307da28ccd Mon Sep 17 00:00:00 2001
|
|
From: askiiart <dev@askiiart.net>
|
|
Date: Tue, 5 Sep 2023 20:05:01 -0500
|
|
Subject: [PATCH] Lighten Docker stuff
|
|
|
|
---
|
|
generate.py | 2 --
|
|
main.py | 3 ---
|
|
requirements.txt | 3 +--
|
|
3 files changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
diff --git a/generate.py b/generate.py
|
|
index fa9cc80..5746646 100644
|
|
--- a/generate.py
|
|
+++ b/generate.py
|
|
@@ -1,7 +1,5 @@
|
|
from poe_api_wrapper import PoeApi
|
|
import os
|
|
-from dotenv import load_dotenv
|
|
-load_dotenv()
|
|
client = PoeApi(os.environ['POE_TOKEN'])
|
|
import asyncio
|
|
|
|
diff --git a/main.py b/main.py
|
|
index 36d3473..943aaaa 100644
|
|
--- a/main.py
|
|
+++ b/main.py
|
|
@@ -1,5 +1,4 @@
|
|
import os
|
|
-from dotenv import load_dotenv
|
|
import discord
|
|
import generate
|
|
import neural
|
|
@@ -9,8 +8,6 @@ import re
|
|
from discord import app_commands
|
|
from discord.ext import tasks
|
|
|
|
-load_dotenv()
|
|
-
|
|
client = discord.Client(intents=discord.Intents.all())
|
|
tree = app_commands.CommandTree(client)
|
|
|
|
diff --git a/requirements.txt b/requirements.txt
|
|
index b8d92fd..970bcec 100644
|
|
--- a/requirements.txt
|
|
+++ b/requirements.txt
|
|
@@ -2,5 +2,4 @@ discord
|
|
Pillow
|
|
requests
|
|
revChatGPT
|
|
-poe-api-wrapper
|
|
-python-dotenv
|
|
+poe-api-wrapper
|
|
\ No newline at end of file
|
|
--
|
|
2.41.0
|
|
|