diff options
| author | Stocker <[email protected]> | 2021-08-19 20:18:27 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-19 20:18:27 -0400 |
| commit | f4d5fcc8f99a323c3b52f5a3885c115f498913d7 (patch) | |
| tree | 12a7378657ce67dbe6ab20b160945c9143a9717e /docs/locale/ja | |
| parent | [commands] reset view when Optional argument encounters parsing error (diff) | |
| download | discord.py-f4d5fcc8f99a323c3b52f5a3885c115f498913d7.tar.xz discord.py-f4d5fcc8f99a323c3b52f5a3885c115f498913d7.zip | |
Add Thread to the return type of Client.get_channel
Also explains some type ignores.
Diffstat (limited to 'docs/locale/ja')
| -rw-r--r-- | docs/locale/ja/LC_MESSAGES/api.po | 8 | ||||
| -rw-r--r-- | docs/locale/ja/LC_MESSAGES/ext/commands/api.po | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/docs/locale/ja/LC_MESSAGES/api.po b/docs/locale/ja/LC_MESSAGES/api.po index 203953f0..f08680e0 100644 --- a/docs/locale/ja/LC_MESSAGES/api.po +++ b/docs/locale/ja/LC_MESSAGES/api.po @@ -1313,8 +1313,8 @@ msgstr "戻り値の型" #: discord.Client.get_channel:7 of #, fuzzy -msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]]" -msgstr "Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]" +msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.Thread`, :class:`.abc.PrivateChannel`]]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.Thread`, :class:`.abc.PrivateChannel`]" #: discord.Client.get_guild:1 of #, fuzzy @@ -16949,11 +16949,11 @@ msgstr ":class:`~discord.User`" #~ ":class:`.Streaming`]] -- ログイン時のアクティビティ。" #~ msgid "" -#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ "Optional[Union[:class:`.abc.GuildChannel`, :class:`.Thread`, " #~ ":class:`.abc.PrivateChannel`]]: Returns a channel" #~ " with the given ID." #~ msgstr "" -#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ "Optional[Union[:class:`.abc.GuildChannel`, :class:`.Thread`, " #~ ":class:`.abc.PrivateChannel`]]: 与えられたIDを持つチャンネルを返します。" #~ msgid "If not found, returns ``None``." diff --git a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po index c3889675..0affe8cd 100644 --- a/docs/locale/ja/LC_MESSAGES/ext/commands/api.po +++ b/docs/locale/ja/LC_MESSAGES/ext/commands/api.po @@ -1466,7 +1466,7 @@ msgid ":class:`.Member` -- A member the client can see." msgstr "" #: discord.ext.commands.Bot.get_channel:1 of -msgid "Returns a channel with the given ID." +msgid "Returns a channel or thread with the given ID." msgstr "" #: discord.ext.commands.Bot.get_channel:3 discord.ext.commands.Bot.get_emoji:3 @@ -1481,8 +1481,8 @@ msgstr "" #: discord.ext.commands.Bot.get_channel:7 of #, fuzzy -msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.abc.PrivateChannel`]]" -msgstr "Union[ :class:`.abc.GuildChannel` , :class:`.abc.PrivateChannel` ]" +msgid "Optional[Union[:class:`.abc.GuildChannel`, :class:`.Thread`, :class:`.abc.PrivateChannel`]]" +msgstr "Union[:class:`.abc.GuildChannel`, :class:`.Thread`, :class:`.abc.PrivateChannel`]" #: discord.ext.commands.Bot.get_cog:1 of msgid "Gets the cog instance requested." @@ -6008,7 +6008,7 @@ msgstr "" #~ msgstr "" #~ msgid "" -#~ "Optional[Union[:class:`.abc.GuildChannel`, " +#~ "Optional[Union[:class:`.abc.GuildChannel`, :class:`.Thread`, " #~ ":class:`.abc.PrivateChannel`]]: Returns a channel" #~ " with the given ID." #~ msgstr "" |