fix
This commit is contained in:
@@ -17,9 +17,9 @@ class Update(commands.Cog):
|
|||||||
Make pull from git repository and restart
|
Make pull from git repository and restart
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
res = await self.bot.ch(server_id=context.guild.id)
|
res = await self.bot.ch(server_id=context.guild.id)
|
||||||
channel = self.bot.get_channel(res)
|
channel = self.bot.get_channel(res)
|
||||||
try:
|
|
||||||
channel = int(channel)
|
channel = int(channel)
|
||||||
except:
|
except:
|
||||||
channel = context
|
channel = context
|
||||||
|
|||||||
Reference in New Issue
Block a user