예제 #1
0
 async def split(self, ctx, *, arg1=None):
     sc = inspect.stack()[0][3]
     await ctx.send(embed=invader_type(ctx, sc, arg1).i_embed)
예제 #2
0
파일: invader.py 프로젝트: ewong18/Roc-Bot
 async def split(self, ctx, *, arg1=None):
     sc = ctx.subcommand_passed
     await ctx.send(embed=invader_type(ctx, sc, arg1).i_embed)
예제 #3
0
 async def invader(self, ctx, *, arg1=None):
     sc = inspect.stack()[0][3]
     if ctx.invoked_subcommand is None and arg1 is None:
         await ctx.send('Invalid invader command passed.')
     else:
         await ctx.send(embed=invader_type(ctx, sc, arg1).i_embed)
예제 #4
0
파일: invader.py 프로젝트: ewong18/Roc-Bot
 async def armored(self, ctx, *, arg1=None):
     sc = 'armored'
     await ctx.send(embed=invader_type(ctx, sc, arg1).i_embed)