This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user