Skip to content

Commit

Permalink
Updated by eunwoo1104
Browse files Browse the repository at this point in the history
  • Loading branch information
KSP authored and KSP committed Sep 12, 2020
1 parent b6105c7 commit 1d9294a
Show file tree
Hide file tree
Showing 24 changed files with 905 additions and 157 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 43723b38473f4a3fd4596aa425bea13c
config: 4936540a75e108ae203762aff6c541c2
tags: 645f666f9bcd5a90fca523b33c5a78b7
23 changes: 23 additions & 0 deletions _sources/api.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,14 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:ref:`py:raise`. Exceptions raised by ``on_error`` will not be
handled in any way by :class:`Client`.

.. note::

``on_error`` will only be dispatched to :meth:`Client.event`.

It will not be received by :meth:`Client.wait_for`, or, if used,
:ref:`ext_commands_api_bot` listeners such as
:meth:`~ext.commands.Bot.listen` or :meth:`~ext.commands.Cog.listener`.

:param event: The name of the event that raised the exception.
:type event: :class:`str`

Expand Down Expand Up @@ -895,6 +903,15 @@ of :class:`enum.Enum`.
Specifies the type of :class:`Message`. This is used to denote if a message
is to be interpreted as a system message or a regular message.

.. container:: operations

.. describe:: x == y

Checks if two messages are equal.
.. describe:: x != y

Checks if two messages are not equal.

.. attribute:: default

The default message type. This is the same as regular messages.
Expand Down Expand Up @@ -1037,6 +1054,9 @@ of :class:`enum.Enum`.
.. attribute:: southafrica

The South Africa region.
.. attribute:: south_korea

The South Korea region.
.. attribute:: sydney

The Sydney region.
Expand Down Expand Up @@ -2882,6 +2902,8 @@ The following exceptions are thrown by the library.

.. autoexception:: NotFound

.. autoexception:: DiscordServerError

.. autoexception:: InvalidData

.. autoexception:: InvalidArgument
Expand Down Expand Up @@ -2911,3 +2933,4 @@ Exception Hierarchy
- :exc:`HTTPException`
- :exc:`Forbidden`
- :exc:`NotFound`
- :exc:`DiscordServerError`
38 changes: 38 additions & 0 deletions _sources/ext/commands/api.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,33 @@ Exceptions
.. autoexception:: discord.ext.commands.NotOwner
:members:

.. autoexception:: discord.ext.commands.MessageNotFound
:members:

.. autoexception:: discord.ext.commands.MemberNotFound
:members:

.. autoexception:: discord.ext.commands.UserNotFound
:members:

.. autoexception:: discord.ext.commands.ChannelNotFound
:members:

.. autoexception:: discord.ext.commands.ChannelNotReadable
:members:

.. autoexception:: discord.ext.commands.RoleNotFound
:members:

.. autoexception:: discord.ext.commands.EmojiNotFound
:members:

.. autoexception:: discord.ext.commands.PartialEmojiConversionFailure
:members:

.. autoexception:: discord.ext.commands.BadBoolArgument
:members:

.. autoexception:: discord.ext.commands.MissingPermissions
:members:

Expand Down Expand Up @@ -393,6 +420,17 @@ Exception Hierarchy
- :exc:`~.commands.MissingRequiredArgument`
- :exc:`~.commands.TooManyArguments`
- :exc:`~.commands.BadArgument`
- :exc:`~.commands.MessageNotFound`
- :exc:`~.commands.MemberNotFound`
- :exc:`~.commands.UserNotFound`
- :exc:`~.commands.ChannelNotFound`
- :exc:`~.commands.ChannelNotReadable`
- :exc:`~.commands.BadColourArgument`
- :exc:`~.commands.RoleNotFound`
- :exc:`~.commands.BadInviteArgument`
- :exc:`~.commands.EmojiNotFound`
- :exc:`~.commands.PartialEmojiConversionFailure`
- :exc:`~.commands.BadBoolArgument`
- :exc:`~.commands.BadUnionArgument`
- :exc:`~.commands.ArgumentParsingError`
- :exc:`~.commands.UnexpectedQuoteError`
Expand Down
355 changes: 332 additions & 23 deletions api.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions discord.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<html lang="ko">
<head>
<meta charset="utf-8" />
<title>봇 계정 생성 &#8212; discord.py 1.4.1 문서</title>
<title>봇 계정 생성 &#8212; discord.py 1.5.0a 문서</title>
<link rel="stylesheet" href="_static/style.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
Expand Down Expand Up @@ -37,7 +37,7 @@ <h3>탐색</h3>
<li class="right" >
<a href="ext/tasks/index.html" title="discord.ext.tasks – asyncio.Task 헬퍼"
accesskey="P">이전</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">discord.py 1.4.1 문서</a> &#187;</li>
<li class="nav-item nav-item-0"><a href="index.html">discord.py 1.5.0a 문서</a> &#187;</li>
</ul>
</div>

Expand Down
Loading

0 comments on commit 1d9294a

Please sign in to comment.