diff --git a/exts/git.py b/exts/git.py index 05c3da3..325a2fe 100644 --- a/exts/git.py +++ b/exts/git.py @@ -25,7 +25,7 @@ class Git(): title=f'Git Pull', color=embed_color) em.set_thumbnail(url=f'{ctx.guild.me.avatar_url}') - result = await asyncio.wait_for(self.bot.loop.create_task(run_command(['git','pull'])),10) + result = await asyncio.wait_for(self.bot.loop.create_task(run_command('git pull')),10) em.add_field(name='Results:', value=f'```{result}```') await ctx.send(embed=em) @@ -36,7 +36,7 @@ class Git(): title=f'Git Pull', color=embed_color) em.set_thumbnail(url=f'{ctx.guild.me.avatar_url}') - result = await asyncio.wait_for(self.bot.loop.create_task(run_command(['git','status'])),10) + result = await asyncio.wait_for(self.bot.loop.create_task(run_command('git status')),10) em.add_field(name='Results:', value=f'```{result}```') await ctx.send(embed=em)