Example #1
0
 async def fact(self, ctx: Context) -> None:
     """Sends a random fact"""
     try:
         embed = Embed(description=nekos.fact(), color=0x690E8)
         await ctx.send(embed=embed)
     except nekos.errors.NothingFound:
         await ctx.send('Couldn\'t Fetch any "Fact" :(')
Example #2
0
 async def facts(self, ctx):
     some_fact = nekos.fact()
     e = discord.Embed(title="Facts", description=some_fact, color=0x36393E)
     e.set_thumbnail(
         url=
         "https://cdn.discordapp.com/attachments/560801259968266240/609132350051188749/1565298690301.png"
     )
     await ctx.send(embed=e)
Example #3
0
 async def fact(self, ctx: Context) -> None:
     """Sends a random fact"""
     try:
         embed = Embed(color=0x690E8)
         embed.set_image(url=n.fact())
         await ctx.send(embed=embed)
     except n.errors.NothingFound:
         await ctx.send('Couldn\'t Fetch any "Fact" :(')
Example #4
0
 async def randomfact(self, msg):
     """
     Get a random fact about random things
     Command: s.randomfact
     Example: s.randomfact
     """
     emb = discord.Embed(description=nekos.fact())
     await msg.send(embed=emb)
Example #5
0
 async def randomfact(self, ctx):
     fact = nekos.fact()
     em = discord.Embed(title="Random Facts",
                        color=discord.Color.blue(),
                        description=fact)
     em.set_footer(
         text="Powered by nekos.life",
         icon_url=
         "https://avatars2.githubusercontent.com/u/34457007?s=200&v=4")
     await ctx.send(embed=em)
Example #6
0
async def hmm(marcus):
    if marcus.fwd_from:
        return
    factmarcus = nekos.fact()
    await edit_or_reply(marcus, factmarcus)
Example #7
0
async def hmm(AuraX):
    if AuraX.fwd_from:
        return
    factAuraX = nekos.fact()
    await edit_or_reply(AuraX, factAuraX)
Example #8
0
async def hmm(exelon):
    if exelon.fwd_from:
        return
    factexelon = nekos.fact()
    await exelon.edit(factexelon)
Example #9
0
async def hmm(cat):
    if cat.fwd_from:
        return
    factcat = nekos.fact()
    await edit_or_reply(cat, factcat)
Example #10
0
async def hmm(hell):
    if hell.fwd_from:
        return
    facthell = nekos.fact()
    await eor(hell, facthell)
Example #11
0
async def hmm(hell):
    if hell.fwd_from:
        return
    facthell = nekos.fact()
    await edit_or_reply(hell, facthell)
Example #12
0
async def hmm(REBEL):
    if REBEL.fwd_from:
        return
    factREBEL = nekos.fact()
    await edit_or_reply(REBEL, factREBEL)
Example #13
0
async def hmm(cat):
    "Some random facts"
    factcat = nekos.fact()
    await edit_or_reply(cat, factcat)
Example #14
0
File: fun.py Project: mili-ae/Umi
 async def fact(self, ctx):
     """Sends you a random fact"""
     await ctx.trigger_typing()
     e = discord.Embed(title=":bookmark: | Random Fact!", description=nekos.fact(), color=self.bot.color)
     await ctx.send(embed=e)
Example #15
0
async def hmm(lion):
    if lion.fwd_from:
        return
    factlion = nekos.fact()
    await edit_or_reply(lion, factlion)
Example #16
0
async def fact(ctx):
    fact = nekos.fact()
    await ctx.send(fact)
Example #17
0
 async def fact(self, ctx: commands.Context) -> None:
     """Get yo facts right!"""
     await deleteMessage(ctx)
     await ctx.send(nekos.fact())
Example #18
0
async def _(event):
    target = nekos.fact()
    await event.edit(f"`{target}`")
Example #19
0
def get_fact(): # Get a random fact from nekos.life
    FACTS = nekos.fact()
    return FACTS
Example #20
0
async def hmm(cat):
    if cat.fwd_from:
        return
    factcat = nekos.fact()
    await cat.edit(factcat)
Example #21
0
async def hmm(dark):
    if dark.fwd_from:
        return
    factdark = nekos.fact()
    await edit_or_reply(dark, factdark)
Example #22
0
async def hmm(mega):
    if mega.fwd_from:
        return
    factmega = nekos.fact()
    await edit_or_reply(mega, factmega)
Example #23
0
 async def nfact(self, ctx):
     """Gives you a random fact."""
     fact = nekos.fact()
     await ctx.send('Here is a random fact for you:\n``{}``'.format(fact))
Example #24
0
async def hmm(W2H):
    if W2H.fwd_from:
        return
    factW2H = nekos.fact()
    await edit_or_reply(W2H, factW2H)
Example #25
0
 async def funfact(self, ctx):
     "sends a fun fact"
     await ctx.send(nekos.fact())
Example #26
0
async def hmm(shinchan):
    if shinchan.fwd_from:
        return
    factshinchan = nekos.fact()
    await edit_or_reply(shinchan, factshinchan)
Example #27
0
async def hmm(LEGEND):
    if LEGEND.fwd_from:
        return
    factLEGEND = nekos.fact()
    await edit_or_reply(LEGEND, factLEGEND)
Example #28
0
async def hmm(mafia):
    if mafia.fwd_from:
        return
    factmafia = nekos.fact()
    await edit_or_reply(mafia, factmafia)