Beispiel #1
0
    async def waifu(self, ctx):
        context.new_guild_check(ctx.guild.id)

        if ctx.channel.is_nsfw():
            await ctx.send(file=discord.File(get_random_image("./waifus/")))
            await ctx.message.add_reaction(context.guilds[ctx.guild.id].emoji)
        else:
            await ctx.send('Solo se puede usar en canales nsfw')
            await ctx.message.add_reaction(context.guilds[ctx.guild.id].emoji)
Beispiel #2
0
 async def mai(self, ctx):
     context.new_guild_check(ctx.guild.id)
     await ctx.send(file=discord.File(get_random_image("./mai/")))
     await ctx.message.add_reaction(context.guilds[ctx.guild.id].emoji)