From bb39f1f1b472801ec3f144020edaf422fa2b265f Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Sat, 14 Apr 2018 03:18:49 -0800 Subject: [PATCH] Changed Email checker --- exts/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/git.py b/exts/git.py index ef4d944..079e5df 100644 --- a/exts/git.py +++ b/exts/git.py @@ -27,7 +27,7 @@ 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' - result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git show --stat | sed "s/.*@.*[.].*//g"')),10) + result += await asyncio.wait_for(self.bot.loop.create_task(run_command('git show --stat | sed -r "s/^(.*? |)[^@]+@[^ ]+/\1email/g"')),10) results = paginate(result, maxlen=1014) for page in results[:5]: em.add_field(name='￲', value=f'{page}')