|
|
|
|
@ -28,7 +28,9 @@ class Git:
|
|
|
|
|
em.set_thumbnail(url=f'{ctx.guild.me.avatar_url}')
|
|
|
|
|
result = await asyncio.wait_for(self.bot.loop.create_task(run_command('git fetch --all')), 120) + '\n'
|
|
|
|
|
result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git reset --hard '
|
|
|
|
|
'origin/master')), 120) + '\n\n'
|
|
|
|
|
'origin/$(git '
|
|
|
|
|
'rev-parse --symbolic-full-name'
|
|
|
|
|
'--abbrev-ref HEAD)')), 120) + '\n\n'
|
|
|
|
|
result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git show --stat | '
|
|
|
|
|
'sed "s/.*@.*[.].*/ /g"')), 10)
|
|
|
|
|
results = paginate(result, maxlen=1014)
|
|
|
|
|
|