Skip to content

Commit

Permalink
Swapped end-user ID to use the user ID of the Discord user initiating…
Browse files Browse the repository at this point in the history
… the command
  • Loading branch information
LobaDK committed Mar 21, 2024
1 parent 313babd commit ec6e2b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/Chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ async def initiateChat(
top_p=1,
frequency_penalty=1,
presence_penalty=0,
user=str(ctx.message.id),
user=str(ctx.message.author.id),
)
chat_response = response.choices[0].message.content

Expand Down

0 comments on commit ec6e2b5

Please sign in to comment.