async def updatejsk(self, ctx, reload: bool = True): await ctx.invoke( self.jsk_shell, argument=Codeblock( None, 'python3 -m pip install -U git+https://github.com/Starwort/jishaku@master#egg=jishaku' )) if reload: await ctx.invoke(self.jsk_load, 'jishaku')
async def jsk_pip(self, ctx: commands.Context, *, argument: codeblock_converter): """ Shortcut for 'jsk sh pip'. Invokes the system shell. """ return await ctx.invoke(self.jsk_shell, argument=Codeblock(argument.language, "pip " + argument.content))
async def jsk_pip(self, ctx: LightningContext, *, argument: codeblock_converter): return await ctx.invoke(self.jsk_shell, argument=Codeblock(argument.language, "pip3 " + argument.content))