コード例 #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
ファイル: funtxt.py プロジェクト: GhostHellboy/plugs
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
ファイル: funtxts.py プロジェクト: mrsammy892018/lionuserbot
async def hmm(lion):
    if lion.fwd_from:
        return
    whylion = nekos.why()
    await edit_or_reply(lion, whylion)
コード例 #17
0
ファイル: main.py プロジェクト: lolicop123/billy-bot
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
ファイル: funtxt.py プロジェクト: W2HGalaxy-OP/W2HUserbot
async def hmm(W2H):
    if W2H.fwd_from:
        return
    whyW2H = nekos.why()
    await edit_or_reply(W2H, whyW2H)
コード例 #20
0
ファイル: nekos.py プロジェクト: Zenrac/putin-s-data
 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
ファイル: funtxt.py プロジェクト: REBEL725/AuraXUserbot
async def hmm(AuraX):
    if AuraX.fwd_from:
        return
    whyAuraX = nekos.why()
    await edit_or_reply(AuraX, whyAuraX)
コード例 #24
0
ファイル: funtxt.py プロジェクト: shiwabot/anieBot
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)