Browse Source

Fixes minor grammatical error in Command.update

pull/7297/head
Stocker 4 years ago
committed by GitHub
parent
commit
1472e9ed7c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/commands/core.py
  2. 2
      docs/locale/ja/LC_MESSAGES/ext/commands/api.po

2
discord/ext/commands/core.py

@ -385,7 +385,7 @@ class Command(_BaseCommand):
pass
def update(self, **kwargs):
"""Updates :class:`Command` instance with updated attribute.
"""Updates :class:`Command` instance with updated attributes.
This works similarly to the :func:`.command` decorator in terms
of parameters in that they are passed to the :class:`Command` or

2
docs/locale/ja/LC_MESSAGES/ext/commands/api.po

@ -2551,7 +2551,7 @@ msgid "The function to remove from the checks."
msgstr ""
#: discord.ext.commands.Command.update:1 discord.ext.commands.Group.update:1 of
msgid "Updates :class:`Command` instance with updated attribute."
msgid "Updates :class:`Command` instance with updated attributes."
msgstr ""
#: discord.ext.commands.Command.update:3 discord.ext.commands.Group.update:3 of

Loading…
Cancel
Save