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
"""
try:
res = await self.bot.ch(server_id=context.guild.id)
channel = self.bot.get_channel(res)
try:
channel = int(channel)
except:
channel = context