Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
fix: #113
Browse files Browse the repository at this point in the history
  • Loading branch information
FuseFairy committed Dec 21, 2023
1 parent a583f71 commit b957a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/user_chatbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ def get_conversation_style(self) -> str:
async def set_chatbot(self, cookies):
self.chatbot = Chatbot(cookie=cookies)

async def send_message(self, interaction: discord.Interaction, message):
async def send_message(self, interaction: discord.Interaction, message: str, image: str=None):
async with self.sem_send_message:
await send_message(self.chatbot, interaction, message, self.conversation_style, users_chatbot, self.user_id)
await send_message(self.chatbot, interaction, message, image, self.conversation_style, users_chatbot, self.user_id)

async def create_image(self, interaction: discord.Interaction, prompt: str):
async with self.sem_create_image:
Expand Down

0 comments on commit b957a44

Please sign in to comment.