Skip to content

Commit

Permalink
Merge pull request #159 from captbrando/20240829-Brando-Fix-Typo
Browse files Browse the repository at this point in the history
Just fixing a couple of typos or formatting issues in the message posted back to Discord.
  • Loading branch information
DMcP89 authored Aug 30, 2024
2 parents 8f3d6e8 + ed4188f commit 3710c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions harambot/ui/modals.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ async def on_error(
) -> None:
logger.exception(error)
await interaction.response.send_message(
"Oops! Something went wrong with configuring your guild.\
Please try again",
"Oops! Something went wrong with configuring your guild. Please try again.",
ephemeral=True,
)
4 changes: 2 additions & 2 deletions harambot/ui/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def select_channels(
guild.transaction_polling_webhook = webhook.url
guild.save()
return await interaction.response.send_message(
f"Reports have been configure to go to {select.values[0].mention}"
f"Reports configured to go to {select.values[0].mention}"
)

if guild.transaction_polling_service_enabled == 0:
Expand All @@ -114,5 +114,5 @@ async def select_channels(
guild.save()

return await interaction.response.send_message(
f"Reports have been configure to go to {select.values[0].mention}"
f"Reports configured to go to {select.values[0].mention}"
)

0 comments on commit 3710c83

Please sign in to comment.