コード例 #1
0
    async def scoutregular10(self, ctx, *args: str):
        """
        Description: |
            10 card regular scouting.

            **Rates:** N: 95%, R: 5%
        Optional Arguments: |
            Attribute (smile, pure, cool)
            Idol first name (Honoka, Chika, ...)
            Year (first, second, third)
        """
        scout = ScoutHandler(self.bot, ctx.message.author, 'regular', 10,
                             False, args)
        image = await scout.do_scout()
        await self.__handle_result(ctx, scout.results, image)
コード例 #2
0
    async def scoutsupport(self, ctx, *args: str):
        """
        Description: |
            Support scouting.

            **Rates:** R: 60%, SR: 30%, UR: 10%
        Optional Arguments: |
            Attribute (smile, pure, cool)
            Idol first name (Honoka, Chika, ...)
            Year (first, second, third)
        """
        scout = ScoutHandler(self.bot, ctx.message.author, 'support', 1, False,
                             args)
        image = await scout.do_scout()
        await self.__handle_result(ctx, scout.results, image)
コード例 #3
0
    async def scout11(self, ctx, *args: str):
        """
        Description: |
            10+1 honour scouting.

            **Rates:** R: 80%, SR: 15%, SSR: 4%, UR: 1%
        Optional Arguments: |
            Main unit name (Aqours, Muse, Saint Snow, A-RISE)
            Sub unit name (Lily White, CYaRon, ...)
            Idol first name (Honoka, Chika, ...)
            Attribute (smile, pure, cool)
            Year (first, second, third)
        """
        scout = ScoutHandler(self.bot, ctx.message.author, 'honour', 11, True,
                             args)
        image = await scout.do_scout()
        await self.__handle_result(ctx, scout.results, image)