示例#1
0
    async def ye(self, ctx):
        """
        Gets a random image from yande.re
        """

        m = Moebooru(ctx, "yandere")
        await m.get_posts()
示例#2
0
    async def kc(self, ctx):
        """
        Gets a random image from konachan
        """

        m = Moebooru(ctx, "konachan")
        await m.get_posts()
示例#3
0
    async def kc_search(self, ctx, amount: typing.Optional[int] = 1, *, tags):
        """Search for a picture on konachan
        20 is the maximum"""

        amount = self.range_check(amount)
        m = Moebooru(ctx, "konachan")
        await m.get_posts(tags, amount)
示例#4
0
 async def loli(self, ctx):
     """
     Gets a random image from lolibooru
     """
     m = Moebooru(ctx, "lolibooru")
     await m.get_posts()
示例#5
0
 async def gb(self, ctx):
     """
     Gets a random image from gelbooru
     """
     m = Moebooru(ctx, "gelbooru")
     await m.get_posts()