From 1ca2b593e4ca6538feb02c6aec80aa87bc4f380c Mon Sep 17 00:00:00 2001 From: grey-cat-1908 <61203964+grey-cat-1908@users.noreply.github.com> Date: Mon, 11 Apr 2022 16:47:31 +0300 Subject: [PATCH] Update client.rst --- docs/source/client.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/source/client.rst b/docs/source/client.rst index ee041a5..24700b0 100644 --- a/docs/source/client.rst +++ b/docs/source/client.rst @@ -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.