Fixed syntax error
This commit is contained in:
parent
c99ba42121
commit
3474cdcf53
@ -14,7 +14,7 @@ RUN apt-get update -q && \
|
|||||||
RUN mkdir -p /app/data && chmod 755 /app/data
|
RUN mkdir -p /app/data && chmod 755 /app/data
|
||||||
|
|
||||||
# Set safe directory
|
# Set safe directory
|
||||||
RUN RUN git config --global --add safe.directory '*'
|
RUN git config --global --add safe.directory '*'
|
||||||
|
|
||||||
# Clone the repository
|
# 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
|
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
|
||||||
|
|||||||
@ -125,7 +125,7 @@ def setup_rhymes_commands(client: discord.Client, tree: discord.app_commands.Com
|
|||||||
guild_id: str = str(interaction.guild_id)
|
guild_id: str = str(interaction.guild_id)
|
||||||
guild_state = database.get_guild_state(guild_id)
|
guild_state = database.get_guild_state(guild_id)
|
||||||
database.rhyme_configure_cooldown_ratio(guild_id, ratio)
|
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:
|
if ratio < 0:
|
||||||
await interaction.response.send_message(f"{msg}\nLes \"poil au\" sont désormais désactivés.", ephemeral=True)
|
await interaction.response.send_message(f"{msg}\nLes \"poil au\" sont désormais désactivés.", ephemeral=True)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user