Skip to content

Commit

Permalink
change stage bot
Browse files Browse the repository at this point in the history
  • Loading branch information
jmilldotdev committed Dec 16, 2023
1 parent efa43d1 commit 1836c2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/bots/eden-stg/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ ALLOWED_GUILDS=
ALLOWED_GUILDS_TEST=
ALLOWED_CHANNELS=

OPENAI_API_KEY=
LOGOS_URL=
6 changes: 2 additions & 4 deletions src/cogs/LogosCharacterCog.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
ALLOWED_CHANNELS = [int(c) for c in os.getenv("ALLOWED_CHANNELS", "").split(",")]

EDEN_API_URL = os.getenv("EDEN_API_URL")
LOGOS_API_URL = os.getenv("LOGOS_API_URL")
LOGOS_URL = os.getenv("LOGOS_API_URL")
EDEN_FRONTEND_URL = EDEN_API_URL.replace("api", "app")
EDEN_API_KEY = os.getenv("EDEN_API_KEY")
EDEN_API_SECRET = os.getenv("EDEN_API_SECRET")
Expand Down Expand Up @@ -77,9 +77,7 @@ async def on_message(self, message: discord.Message) -> None:
"author_id": str(message.author.id),
}

response = request_logos_assistant(
LOGOS_API_URL, assistant, interaction
)
response = request_logos_assistant(LOGOS_URL, assistant, interaction)
reply = response.get("message")[:2000]
reply_message = await message.reply(reply)

Expand Down

0 comments on commit 1836c2c

Please sign in to comment.