From 0cec70920501b5c017cc688f082ababeeebd46b7 Mon Sep 17 00:00:00 2001 From: AkriliksKotya Date: Sun, 21 Dec 2025 17:44:35 +0500 Subject: [PATCH] fix --- c/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/update.py b/c/update.py index c0d81a3..66839be 100644 --- a/c/update.py +++ b/c/update.py @@ -17,9 +17,9 @@ class Update(commands.Cog): Make pull from git repository and restart """ - res = await self.bot.ch(server_id=context.guild.id) - channel = self.bot.get_channel(res) try: + res = await self.bot.ch(server_id=context.guild.id) + channel = self.bot.get_channel(res) channel = int(channel) except: channel = context