> For the complete documentation index, see [llms.txt](https://docs.discordbotstudio.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.discordbotstudio.org/events/event-types/channel-update.md).

# Channel Update

How to use the Channel Update event in Discord Bot Studio

![](https://1776366025-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0L1z_JwGF9x5j-YBBE%2Fuploads%2FDqJ8FXlXUV7DMAaY0HDA%2Fimage.png?alt=media\&token=b73341de-efa6-4c22-89ff-caa8c5ff101a)

This event is emitted whenever a channel is updated - such as when there is a name change, topic change, channel type change.

This command makes the variables `tempVars.updatedchannelnew` and `tempVars.updatedchannelold` available to use. They represent the new, and old versions of the channel which was updated.&#x20;
