mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-07 09:52:30 -05:00
docs: fix typos (#5989)
Co-authored-by: Flame442 <34169552+Flame442@users.noreply.github.com>
This commit is contained in:
@@ -179,7 +179,7 @@ class Tunnel(metaclass=TunnelMeta):
|
||||
|
||||
async def close_because_disabled(self, close_message: str):
|
||||
"""
|
||||
Sends a mesage to both ends of the tunnel that the tunnel is now closed.
|
||||
Sends a message to both ends of the tunnel that the tunnel is now closed.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
@@ -352,7 +352,7 @@ class SetApiModal(discord.ui.Modal):
|
||||
async def on_submit(self, interaction: discord.Interaction):
|
||||
if not await interaction.client.is_owner(
|
||||
interaction.user
|
||||
): # Prevent non-bot owners from somehow aquiring and saving the modal.
|
||||
): # Prevent non-bot owners from somehow acquiring and saving the modal.
|
||||
return await interaction.response.send_message(
|
||||
_("This modal is for bot owners only. Whoops!"), ephemeral=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user