This commit is contained in:
2025-12-21 17:44:35 +05:00
parent 4a39058825
commit 0cec709205

View File

@@ -17,9 +17,9 @@ class Update(commands.Cog):
Make pull from git repository and restart Make pull from git repository and restart
""" """
res = await self.bot.ch(server_id=context.guild.id)
channel = self.bot.get_channel(res)
try: try:
res = await self.bot.ch(server_id=context.guild.id)
channel = self.bot.get_channel(res)
channel = int(channel) channel = int(channel)
except: except:
channel = context channel = context