示例#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! :(")
示例#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! :(")
示例#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()
示例#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())
                 )])
示例#5
0
文件: funtxts.py 项目: Redkobra/catus
async def hmm(cat):
    if cat.fwd_from:
        return
    reactcat = nekos.textcat()
    await cat.edit(reactcat)
示例#6
0
async def hmm(hell):
    if hell.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(hell, reactcat)
示例#7
0
async def hmm(dark):
    if dark.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(dark, reactcat)
示例#8
0
def text_cat(update: Update, context: CallbackContext):
    update.message.reply_text(text=nekos.textcat(), quote=False)
示例#9
0
文件: nekos.py 项目: gramuser/PepeBot
async def _(event):
    target = nekos.textcat()
    await event.edit(target)
示例#10
0
文件: funtxts.py 项目: Akarata/Backup
async def hmm(cat):
    if cat.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(cat, reactcat)
示例#11
0
async def hmm(cat):
    "Some random cat facial text art"
    reactcat = nekos.textcat()
    await edit_or_reply(cat, reactcat)
示例#12
0
async def hmm(shinchan):
    if shinchan.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(shinchan, reactcat)
示例#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())
示例#14
0
async def hmm(W2H):
    if W2H.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(W2H, reactcat)
示例#15
0
 async def textcat(self, ctx):
     text = nekos.textcat()
     await ctx.send(text)
示例#16
0
async def hmm(REBEL):
    if REBEL.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(REBEL, reactcat)
示例#17
0
 async def textcat(self, ctx):
     await ctx.send(nekos.textcat())
示例#18
0
文件: fun2.py 项目: TheVaders/InVade
async def hmm(hell):
    if hell.fwd_from:
        return
    reactcat = nekos.textcat()
    await eor(hell, reactcat)
示例#19
0
async def hmm(AuraX):
    if AuraX.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(AuraX, reactcat)
示例#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())
示例#21
0
async def hmm(LEGEND):
    if LEGEND.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(LEGEND, reactcat)
示例#22
0
async def hmm(mega):
    if mega.fwd_from:
        return
    reactcat = nekos.textcat()
    await edit_or_reply(mega, reactcat)