Prevent double period.
build_develop / build (push) Successful in 1m28s

This commit is contained in:
2024-08-02 16:23:35 -04:00
parent 0b5330f7ca
commit b64e2471fa
+3 -1
View File
@@ -140,7 +140,9 @@ class RecordCog(commands.Cog, name="Record Commands"):
self.bot.config.params.event_post_channel_id self.bot.config.params.event_post_channel_id
) )
msg = f"<@{interaction.user.id}> has given {recipient_str} points for the {activity} activity. Justification: {justification}." # noqa: E501 msg = f"<@{interaction.user.id}> has given {recipient_str} points for the {activity} activity. Justification: {justification}" # noqa: E501
if not msg.endswith("."):
msg += "."
await event_channel.send(msg) await event_channel.send(msg)
await interaction.response.send_message("Point has been added.", ephemeral=True) await interaction.response.send_message("Point has been added.", ephemeral=True)