fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user