示例#1
0
 async def whydoes(self, ctx: Context) -> None:
     """Sends a random why?__"""
     try:
         embed = Embed(description=nekos.why(), color=0x690E8)
         await ctx.send(embed=embed)
     except nekos.errors.NothingFound:
         await ctx.send('Couldn\'t Fetch any "WHY!" :(')
示例#2
0
 async def whydoes(self, ctx: Context) -> None:
     """Sends a random why?__"""
     try:
         embed = Embed(color=0x690E8)
         embed.set_image(url=n.why())
         await ctx.send(embed=embed)
     except n.errors.NothingFound:
         await ctx.send('Couldn\'t Fetch any "WHY!" :(')
示例#3
0
 async def why(self, msg):
     """
     Sends a random question starting with why
     Command: s.why
     Example: s.why
     """
     emb = discord.Embed(description=nekos.why(),colour=eval(random.choice(self.raw_color)))
     await msg.send(embed=emb)
示例#4
0
 async def why(self, ctx):
     some_question = nekos.why()
     e = discord.Embed(title="Still wondering",
                       description=some_question,
                       color=0x36393E)
     e.set_thumbnail(
         url=
         "https://cdn.discordapp.com/attachments/560801259968266240/609142219147837461/1565301178948.png"
     )
     await ctx.send(embed=e)
示例#5
0
文件: nekos.py 项目: gramuser/PepeBot
async def _(event):
    target = nekos.why()
    await event.edit(target)
示例#6
0
def get_why(): # Get a random question from nekos.life
    WHYYY = nekos.why()
    WHYY = WHYYY.capitalize() # Uppercase the first letter of the question
    return WHYY
示例#7
0
async def hmm(marcus):
    if marcus.fwd_from:
        return
    whymarcus = nekos.why()
    await edit_or_reply(marcus, whymarcus)
示例#8
0
async def hmm(mega):
    if mega.fwd_from:
        return
    whymega = nekos.why()
    await edit_or_reply(mega, whymega)
示例#9
0
文件: funtxts.py 项目: Akarata/Backup
async def hmm(cat):
    if cat.fwd_from:
        return
    whycat = nekos.why()
    await edit_or_reply(cat, whycat)
示例#10
0
async def hmm(exelon):
    if exelon.fwd_from:
        return
    whyexelon = nekos.why()
    await exelon.edit(whyexelon)
示例#11
0
文件: funtxts.py 项目: Redkobra/catus
async def hmm(cat):
    if cat.fwd_from:
        return
    whycat = nekos.why()
    await cat.edit(whycat)
示例#12
0
文件: fun2.py 项目: TheVaders/InVade
async def hmm(hell):
    if hell.fwd_from:
        return
    whyhell = nekos.why()
    await eor(hell, whyhell)
示例#13
0
async def hmm(hell):
    if hell.fwd_from:
        return
    whyhell = nekos.why()
    await edit_or_reply(hell, whyhell)
示例#14
0
async def hmm(REBEL):
    if REBEL.fwd_from:
        return
    whyREBEL = nekos.why()
    await edit_or_reply(REBEL, whyREBEL)
示例#15
0
async def hmm(cat):
    "Some random Funny questions"
    whycat = nekos.why()
    await edit_or_reply(cat, whycat)
示例#16
0
async def hmm(lion):
    if lion.fwd_from:
        return
    whylion = nekos.why()
    await edit_or_reply(lion, whylion)
示例#17
0
async def showerthought(ctx):
    shwrthought = nekos.why()
    await ctx.send(shwrthought)
示例#18
0
async def hmm(dark):
    if dark.fwd_from:
        return
    whydark = nekos.why()
    await edit_or_reply(dark, whydark)
示例#19
0
async def hmm(W2H):
    if W2H.fwd_from:
        return
    whyW2H = nekos.why()
    await edit_or_reply(W2H, whyW2H)
示例#20
0
 async def nwhy(self, ctx):
     """Gives you a random question to think about."""
     question = nekos.why()
     await ctx.send(question)
示例#21
0
async def hmm(shinchan):
    if shinchan.fwd_from:
        return
    whyshinchan = nekos.why()
    await edit_or_reply(shinchan, whyshinchan)
示例#22
0
 async def sxd(self, ctx):
     "sends a very thought provoking question"
     await ctx.send(nekos.why())
示例#23
0
async def hmm(AuraX):
    if AuraX.fwd_from:
        return
    whyAuraX = nekos.why()
    await edit_or_reply(AuraX, whyAuraX)
示例#24
0
async def hmm(LEGEND):
    if LEGEND.fwd_from:
        return
    whyLEGEND = nekos.why()
    await edit_or_reply(LEGEND, whyLEGEND)
示例#25
0
async def hmm(mafia):
    if mafia.fwd_from:
        return
    whymafia = nekos.why()
    await edit_or_reply(mafia, whymafia)