Exemple #1
0
 async def textcat(self, ctx: Context) -> None:
     """Sends a random textcat"""
     try:
         embed = Embed(description=nekos.textcat(), color=0x690E8)
         await ctx.send(embed=embed)
     except nekos.errors.NothingFound:
         await ctx.send("Couldn't Fetch Textcat! :(")
Exemple #2
0
 async def textcat(self, ctx: Context) -> None:
     """Sends a random textcat"""
     try:
         embed = Embed(color=0x690E8)
         embed.set_image(url=n.textcat())
         await ctx.send(embed=embed)
     except n.errors.NothingFound:
         await ctx.send("Couldn't Fetch Textcat! :(")
Exemple #3
0
 async def textcat(self, msg):
     """
     Sends a text version of a cat face
     Command: s.textcat
     Example: s.textcat (Result: b(=^‥^=)o)
     """
     emb = discord.Embed(title=msg.author.display_name,description=nekos.textcat())
     await msg.send(embed=emb)
     await msg.delete()
Exemple #4
0
def inline_search_tc(update: Update, context: CallbackContext):
    query = update.inline_query.query
    s = query.replace('tc', '')
    update.inline_query.answer(results=[
    InlineQueryResultArticle(
                 id=uuid4(),
                 title='Textcat',
                 input_message_content=InputTextMessageContent(message_text=nekos.textcat())
                 )])
Exemple #5
0
async def hmm(cat):
    if cat.fwd_from:
        return
    reactcat = nekos.textcat()
    await cat.edit(reactcat)
Exemple #6
0
async def hmm(hell):
    if hell.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(hell, reactcat)
Exemple #7
0
async def hmm(dark):
    if dark.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(dark, reactcat)
Exemple #8
0
def text_cat(update: Update, context: CallbackContext):
    update.message.reply_text(text=nekos.textcat(), quote=False)
Exemple #9
0
async def _(event):
    target = nekos.textcat()
    await event.edit(target)
Exemple #10
0
async def hmm(cat):
    if cat.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(cat, reactcat)
Exemple #11
0
async def hmm(cat):
    "Some random cat facial text art"
    reactcat = nekos.textcat()
    await edit_or_reply(cat, reactcat)
async def hmm(shinchan):
    if shinchan.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(shinchan, reactcat)
Exemple #13
0
 async def on_message(self, message):
     if 'neko' in message.content:
         await message.channel.send(nekos.textcat())
     if 'Neko' in message.content:
         await message.channel.send(nekos.textcat())
Exemple #14
0
async def hmm(W2H):
    if W2H.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(W2H, reactcat)
Exemple #15
0
 async def textcat(self, ctx):
     text = nekos.textcat()
     await ctx.send(text)
Exemple #16
0
async def hmm(REBEL):
    if REBEL.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(REBEL, reactcat)
Exemple #17
0
 async def textcat(self, ctx):
     await ctx.send(nekos.textcat())
Exemple #18
0
async def hmm(hell):
    if hell.fwd_from:
        return
    reactcat = nekos.textcat()
    await eor(hell, reactcat)
Exemple #19
0
async def hmm(AuraX):
    if AuraX.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(AuraX, reactcat)
Exemple #20
0
 async def on_message(self, message):
     btq_id = 583242472881127434
     if 'neko' in message.content and message.guild.id != btq_id:
         await message.channel.send(nekos.textcat())
     if 'Neko' in message.content and message.guild.id != btq_id:
         await message.channel.send(nekos.textcat())
Exemple #21
0
async def hmm(LEGEND):
    if LEGEND.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(LEGEND, reactcat)
Exemple #22
0
async def hmm(mega):
    if mega.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(mega, reactcat)