don't use sudo in !!gitpull
@@ -88,7 +88,7 @@ class Owner(commands.Cog):
@commands.is_owner()
async def gitpull(self, ctx):
async with ctx.typing():
- system_call = functools.partial(os.system, "sudo git pull > git_pull_log 2>&1")
+ system_call = functools.partial(os.system, "git pull > git_pull_log 2>&1")
await self.bot.loop.run_in_executor(self.bot.tpool, system_call)
async with aiofiles.open("git_pull_log", "r") as f:
