msgid "Union[:class:`.Member`, :class:`.ClientUser`]: Similar to :attr:`.Guild.me` except it may return the :class:`.ClientUser` in private message contexts."
msgid "Union[:class:`.Member`, :class:`.ClientUser`]: Similar to :attr:`.Guild.me` except it may return the :class:`.ClientUser` in private message contexts."
#: ../../docstring of discord.ext.commands.Context.permissions:1
msgid "Returns the resolved permissions for the invoking user in this channel. Shorthand for :meth:`.abc.GuildChannel.permissions_for` or :attr:`.Interaction.permissions`."
#: ../../docstring of discord.ext.commands.Context.permissions:6
#: ../../docstring of discord.ext.commands.Context.bot_permissions:13
msgid ":class:`.Permissions`"
msgstr ":class:`.Permissions`"
#: ../../docstring of discord.ext.commands.Context.bot_permissions:1
msgid "Returns the resolved permissions for the bot in this channel. Shorthand for :meth:`.abc.GuildChannel.permissions_for` or :attr:`.Interaction.app_permissions`."
#: ../../docstring of discord.ext.commands.Context.bot_permissions:4
msgid "For interaction-based commands, this will reflect the effective permissions for :class:`Context` calls, which may differ from calls through other :class:`.abc.Messageable` endpoints, like :attr:`channel`."
#: ../../../discord/app_commands/commands.py:docstring of discord.app_commands.commands.Command.error:3
#: ../../../discord/app_commands/commands.py:docstring of discord.app_commands.commands.Command.error:3
#: ../../../discord/app_commands/commands.py:docstring of discord.app_commands.commands.ContextMenu.error:3
#: ../../../discord/app_commands/commands.py:docstring of discord.app_commands.commands.ContextMenu.error:3
msgid "The local error handler is called whenever an exception is raised in the body of the command or during handling of the command. The error handler must take 2 parameters, the interaction and the error."
msgid "The local error handler is called whenever an exception is raised in the body of the command or during handling of the command. The error handler must take 2 parameters, the interaction and the error."
@ -3777,8 +3792,8 @@ msgid "Keyword arguments denoting the permissions to check for."
msgstr "確認する権限を示すキーワード引数。"
msgstr "確認する権限を示すキーワード引数。"
#: ../../../discord/app_commands/checks.py:docstring of discord.app_commands.checks.bot_has_permissions:1
#: ../../../discord/app_commands/checks.py:docstring of discord.app_commands.checks.bot_has_permissions:1
msgid "Similar to :func:`has_permissions` except checks if the bot itself has the permissions listed."
msgid "Similar to :func:`has_permissions` except checks if the bot itself has the permissions listed. This relies on :attr:`discord.Interaction.app_permissions`."
#: ../../../discord/app_commands/checks.py:docstring of discord.app_commands.checks.bot_has_permissions:4
#: ../../../discord/app_commands/checks.py:docstring of discord.app_commands.checks.bot_has_permissions:4
msgid "This check raises a special exception, :exc:`~discord.app_commands.BotMissingPermissions` that is inherited from :exc:`~discord.app_commands.CheckFailure`."
msgid "This check raises a special exception, :exc:`~discord.app_commands.BotMissingPermissions` that is inherited from :exc:`~discord.app_commands.CheckFailure`."
#: ../../../discord/app_commands/transformers.py:docstring of discord.app_commands.transformers.Transformer.min_value:3
#: ../../../discord/app_commands/transformers.py:docstring of discord.app_commands.transformers.Transformer.min_value:3
#: ../../../discord/app_commands/transformers.py:docstring of discord.app_commands.transformers.Transformer.max_value:3
#: ../../../discord/app_commands/transformers.py:docstring of discord.app_commands.transformers.Transformer.max_value:3
msgid "Only valid if the :meth:`type` returns :attr:`~discord.AppCommandOptionType.number` or :attr:`~discord.AppCommandOptionType.integer`."
msgid "Only valid if the :meth:`type` returns :attr:`~discord.AppCommandOptionType.number` :attr:`~discord.AppCommandOptionType.integer`, or :attr:`~discord.AppCommandOptionType.string`."