Skip to content

Commit

Permalink
Japanese version
Browse files Browse the repository at this point in the history
  • Loading branch information
gx1285 authored Aug 29, 2021
1 parent b8c54c7 commit 12e470b
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions README.ja.rst
Original file line number Diff line number Diff line change
@@ -1,69 +1,69 @@
discord.py
pycord
==========

.. image:: https://discord.com/api/guilds/336642139381301249/embed.png
:target: https://discord.gg/nXzj3dg
:alt: Discordサーバーの招待
.. image:: https://img.shields.io/pypi/v/discord.py.svg
:target: https://pypi.python.org/pypi/discord.py
:alt: PyPIのバージョン情報
.. image:: https://img.shields.io/pypi/pyversions/discord.py.svg
:target: https://pypi.python.org/pypi/discord.py
:alt: PyPIのサポートしているPythonのバージョン
.. image:: https://discord.com/api/guilds/681882711945641997/embed.png
:target: https://discord.gg/dK2qkEJ37N
:alt: Discord server invite
.. image:: https://img.shields.io/pypi/v/py-cord.svg
:target: https://pypi.python.org/pypi/py-cord.py
:alt: PyPI version info
.. image:: https://img.shields.io/pypi/pyversions/py-cord.svg
:target: https://pypi.python.org/pypi/py-cord
:alt: PyPI supported Python versions

discord.py は機能豊富かつモダンで使いやすい、非同期処理にも対応したDiscord用のAPIラッパーです
discord.pyのフォーク。 PyCordは、Pythonで記述されたDiscord用の最新の使いやすい機能豊富な非同期対応APIラッパーです

主な特徴
主な機能
-------------

- ``async````await`` を使ったモダンなPythonらしいAPI
- 適切なレート制限処理
- メモリと速度の両方を最適化
- ``async````await``を使用する最新のPythonicAPI
- 適切なレート制限の処理。
- 速度とメモリの両方で最適化されています
インストール
-------------
----------
**Python 3.8 以降のバージョンが必須です**
**Python3.8以降が必要です**
完全な音声サポートなしでライブラリをインストールする場合は次のコマンドを実行してください:
音声を完全にサポートせずにライブラリをインストールするには、次のコマンドを実行するだけです。
.. code:: sh
# Linux/OS X
python3 -m pip install -U discord.py
# Linux/macOS
python3 -m pip install -U py-cord
# Windows
py -3 -m pip install -U discord.py
py -3 -m pip install -U py-cord
音声サポートが必要なら、次のコマンドを実行しましょう:
それ以外の場合、音声サポートを受けるには、次のコマンドを実行する必要があります。
.. code:: sh
# Linux/OS X
python3 -m pip install -U discord.py[voice]
# Linux/macOS
python3 -m pip install -U "py-cord[voice]"
# Windows
py -3 -m pip install -U discord.py[voice]
py -3 -m pip install -U py-cord[voice]
開発版をインストールしたいのならば、次の手順に従ってください:
開発バージョンをインストールするには、次の手順を実行します。
.. code:: sh
$ git clone https://github.com/Rapptz/discord.py
$ cd discord.py
$ git clone https://github.com/Pycord-Development/pycord.py
$ cd pycord
$ python3 -m pip install -U .[voice]
オプションパッケージ
~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
* PyNaCl (音声サポート用)
* `PyNaCl <https://pypi.org/project/PyNaCl/>`__ (音声サポート用)
Linuxで音声サポートを導入するには、前述のコマンドを実行する前にお気に入りのパッケージマネージャー(例えば ``apt`` や ``dnf`` など)を使って以下のパッケージをインストールする必要があります:
Linuxのインストール音声では、上記のコマンドを実行する前に、お気に入りのパッケージマネージャー(apt、dnfなど)を介して次のパッケージをインストールする必要があることに注意してください。
* libffi-dev (システムによっては ``libffi-devel``)
* python-dev (例えばPython 3.6用の ``python3.6-dev``)
* libffi-dev (または一部のシステムでは ``libffi-devel``)
* python-dev (例: ``python3.6-dev`` Python 3.6の場合)

簡単な例
--------------
Expand Down Expand Up @@ -103,11 +103,11 @@ Botの例
bot.run('token')
examplesディレクトリに更に多くのサンプルがあります
例のディレクトリには、さらに多くの例があります

リンク
------

- `ドキュメント <https://discordpy.readthedocs.io/ja/latest/index.html>`_
- `公式Discordサーバー <https://discord.gg/nXzj3dg>`_
- `Documentation <https://pycord.readthedocs.io/en/latest/index.html>`_
- `Official Discord Server <https://discord.gg/dK2qkEJ37N>`_
- `Discord API <https://discord.gg/discord-api>`_

0 comments on commit 12e470b

Please sign in to comment.