Skip to content

Commit 897fba9

Browse files
committed
Fix other spelling mistakes
1 parent f842a94 commit 897fba9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ What changes were made?
1313
- Issue:
1414
- [ ] This adds something new.
1515
- [ ] There is/are breaking change(s).
16-
- [ ] (If required) Relavent documentation has been updated/added.
16+
- [ ] (If required) Relevant documentation has been updated/added.
1717
- [ ] This is not a code change. (README, docs, etc.)

discord_slash/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ async def sync_all_commands(self, delete_from_unused_guilds=False):
303303
cmds = await self.to_dict()
304304
self.logger.info("Syncing commands...")
305305
other_guilds = [x.id for x in self._discord.guilds if x.id not in cmds["guild"]]
306-
# This is an extremly bad way to do this, because slash cmds can be in guilds the bot isn't in
306+
# This is an extremely bad way to do this, because slash cmds can be in guilds the bot isn't in
307307
# But it's the only way until discord makes an endpoint to request all the guild with cmds registered.
308308

309309
await self.req.put_slash_commands(slash_commands=cmds["global"], guild_id=None)
@@ -835,5 +835,5 @@ async def on_slash_command_error(ctx, ex):
835835
if hasattr(self._discord, "on_slash_command_error"):
836836
self._discord.dispatch("slash_command_error", ctx, ex)
837837
return
838-
# Prints exception if not overrided or has no listener for error.
838+
# Prints exception if not overridden or has no listener for error.
839839
self.logger.exception(f"An exception has occurred while executing command `{ctx.name}`:")

docs/migration.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ This page contains instructions on how to migrate between versions with breaking
44

55
Migrate To V1.1.0
66
==================
7-
Changes that you'll need to make in this version are mainly becuase of a new ui from discord, more info `here <https://github.com/discord/discord-api-docs/pull/2615>`_
7+
Changes that you'll need to make in this version are mainly because of a new ui from discord, more info `here <https://github.com/discord/discord-api-docs/pull/2615>`_
88

99
Responding / Deferring
1010
**********************
1111

12-
In regards to :class:`SlashContext` the methods ``.respond`` and ``.ack`` have been removed, and ``.defer`` added.
12+
In regards to :class:`SlashContext` the methods ``.respond`` and ``.ack`` have been removed, and ``.defer`` added.
1313
Deferring a message will allow you to respond for up to 15 mins, but you'll have to defer within three seconds.
14-
When you defer the user will see a "this bot is thinking" message until you send a message, This message can be ephermical (hidden) or visible.
15-
``.defer`` has a ``hidden`` parameter, which will make the deferred message ephermical.
14+
When you defer the user will see a "this bot is thinking" message until you send a message, This message can be ephemeral (hidden) or visible.
15+
``.defer`` has a ``hidden`` parameter, which will make the deferred message ephemeral.
1616

1717
We suggest deferring if you might take more than three seconds to respond, but if you will call ``.send`` before three seconds then don't.
1818

0 commit comments

Comments
 (0)