You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/locale/ja/LC_MESSAGES/faq.po
+63-11Lines changed: 63 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@ msgid ""
2
2
msgstr ""
3
3
"Project-Id-Version: discordpy\n"
4
4
"Report-Msgid-Bugs-To: \n"
5
-
"POT-Creation-Date: 2023-06-21 01:17+0000\n"
6
-
"PO-Revision-Date: 2024-04-17 02:43\n"
5
+
"POT-Creation-Date: 2025-08-18 19:11+0000\n"
6
+
"PO-Revision-Date: 2025-11-10 18:06\n"
7
7
"Last-Translator: \n"
8
8
"Language-Team: Japanese\n"
9
9
"MIME-Version: 1.0\n"
@@ -439,8 +439,8 @@ msgid "This requires three steps."
439
439
msgstr"これには3つのステップが必要です。"
440
440
441
441
#:../../faq.rst:442
442
-
msgid"Attach a message to the :class:`~discord.ui.View` using either the return type of :meth:`~abc.Messageable.send` or retrieving it via :meth:`Interaction.original_response`."
msgid"Attach a message to the :class:`~discord.ui.View` using either the return type of :meth:`~abc.Messageable.send` or retrieving it via :attr:`InteractionCallbackResponse.resource`."
msgid"Inside :meth:`~ui.View.on_timeout`, loop over all items inside the view and mark them disabled."
@@ -455,30 +455,82 @@ msgid "Putting it all together, we can do this in a text command:"
455
455
msgstr"すべてをまとめると、テキストコマンドではこのように行うことができます。"
456
456
457
457
#:../../faq.rst:470
458
-
msgid"Application commands do not return a message when you respond with :meth:`InteractionResponse.send_message`, therefore in order to reliably do this we should retrieve the message using :meth:`Interaction.original_response`."
msgid"Application commands, when you respond with :meth:`InteractionResponse.send_message`, return an instance of :class:`InteractionCallbackResponse` which contains the message you sent. This is the message you should attach to the view."
msgid"Did you invite your bot with the correct permissions? Bots need to be invited with the ``applications.commands`` scope in addition to the ``bot`` scope. For example, invite the bot with the following URL: ``https://discord.com/oauth2/authorize?client_id=<client id>&scope=applications.commands+bot``. Alternatively, if you use :func:`utils.oauth_url`, you can call the function as such: ``oauth_url(<other options>, scopes=(\"bot\", \"applications.commands\"))``."
msgid"How do I restrict a command to a specific guild?"
487
+
msgstr"コマンドを特定のギルドに制限するにはどうすればよいですか?"
488
+
489
+
#:../../faq.rst:507
490
+
msgid"To restrict an application command to one or more guilds, you must register it as a **guild command** instead of a global command. Guild commands are only available in the specified guild(s)."
msgid"This is mainly for :class:`~ext.commands.GroupCog`, but also works for cogs with application commands. Note: This does not work with hybrid app commands (:issue:`9366`)."
0 commit comments