Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
Add %s to a logging statement (I forgot somehow)
  • Loading branch information
kytpbs committed Oct 4, 2023
1 parent db1e409 commit 0d45d87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AiCommands(app_commands.Group):
@app_commands.command(name="soru", description="bota bir soru sor")
async def chatgpt(self, interaction: discord.Interaction, message: str):
await interaction.response.defer(ephemeral=False)
logging.debug("ChatGPT istek:", message)
logging.debug("ChatGPT istek: %s", message)
answer = GPT.question(message)
logging.debug(f"Cevap: {answer}")
if answer == -1:
Expand Down

0 comments on commit 0d45d87

Please sign in to comment.