Update client.rst

This commit is contained in:
grey-cat-1908 2022-04-11 16:47:31 +03:00 committed by GitHub
parent 60b1c52ded
commit 1ca2b593e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,14 +46,15 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:param exception: Produced error.
:type exception: :class:`Exception`
.. function:: on_guild_channel_delete(channel)
.. function:: on_channel_create(channel)
.. function:: on_channel_delete(channel)
Called whenever a guild channel is deleted or created.
:param channel: The guild channel that got created or deleted.
:type channel: :class:`models.guild.channel.Channel`
.. function:: on_guild_channel_update(before, after)
.. function:: on_channel_update(before, after)
Called whenever a guild channel is updated. e.g. changed name, topic, permissions.