Fixed syntax error

This commit is contained in:
Anselme 2026-08-06 17:34:44 +02:00
parent c99ba42121
commit 3474cdcf53
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ RUN apt-get update -q && \
RUN mkdir -p /app/data && chmod 755 /app/data
# Set safe directory
RUN RUN git config --global --add safe.directory '*'
RUN git config --global --add safe.directory '*'
# Clone the repository
RUN git init /app && git remote add origin https://git.epicsparrow.com/Anselme/perefouras.git && git fetch --depth 1 origin master && git reset --hard FETCH_HEAD

View File

@ -125,7 +125,7 @@ def setup_rhymes_commands(client: discord.Client, tree: discord.app_commands.Com
guild_id: str = str(interaction.guild_id)
guild_state = database.get_guild_state(guild_id)
database.rhyme_configure_cooldown_ratio(guild_id, ratio)
msg = f"Le ratio de cooldown passe de {guild_state["cooldown_ratio"]:.2f} à {ratio:.2f} pour le serveur {interaction.guild.name}"
msg = f"Le ratio de cooldown passe de {guild_state['cooldown_ratio']:.2f} à {ratio:.2f} pour le serveur {interaction.guild.name}"
if ratio < 0:
await interaction.response.send_message(f"{msg}\nLes \"poil au\" sont désormais désactivés.", ephemeral=True)
else: