async def oreosforever(ctx): for i in range(999): await ctx.send('https://cdn.discordapp.com/attachments/724511749516165211/756566771716194454/oreos.mov') @client.command() @commands.is_nsfw()
def add_cmd(self, cmd): if cmd.targetted: async def cmd_body(_, ctx: commands.Context, target: discord.Member): await ctx.send(content=cmd.output_str.format( target=target, author=ctx.author, channel=ctx.channel)) else: async def cmd_body(_, ctx: commands.Context): await ctx.send(content=cmd.output_str.format( author=ctx.author, channel=ctx.channel)) if cmd.nsfw: cmd_body = commands.is_nsfw()(cmd_body) cmd_obj = commands.command(name=cmd.name, help=cmd.help_text)(cmd_body) cmd_obj.instance = Custom() self.bot.add_command(cmd_obj)
@client.command() @commands.has_permissions(manage_messages=True) async def unmute(ctx, member : discord.Member=None): unmute = discord.Embed(title=f"{member.name} has been unmuted", description=f"{member.mention}, you have been unmuted", colour=discord.Colour.blue()) role = discord.utils.get(ctx.guild.roles, name="muted") await member.remove_roles(role) await ctx.message.delete() await ctx.send(embed=unmute) @client.command() @commands.is_nsfw() async def oreosforever(ctx): for i in range(999): await ctx.send('https://cdn.discordapp.com/attachments/724511749516165211/756566771716194454/oreos.mov') @client.command() @commands.is_nsfw() async def oreos(ctx): for i in range(5): await ctx.send('https://cdn.discordapp.com/attachments/724511749516165211/756566771716194454/oreos.mov') @client.command()
def __init__(self, bot): self.bot = bot # oh god self.all_tags = [ "femdom", "tickle", "classic", "ngif", "erofeet", "meow", "erok", "poke", "les", "hololewd", "lewdk", "keta", "feetg", "nsfw_neko_gif", "eroyuri", "kiss", "8ball", "kuni", "t**s", "pussy_jpg", "cum_jpg", "pussy", "lewdkemo", "lizard", "slap", "lewd", "cum", "cuddle", "spank", "smallboobs", "goose", "Random_hentai_gif", "avatar", "fox_girl", "nsfw_avatar", "hug", "gecg", "boobs", "pat", "feet", "smug", "kemonomimi", "solog", "holo", "wallpaper", "bj", "woof", "yuri", "trap", "anal", "baka", "b*****b", "holoero", "feed", "neko", "gasm", "hentai", "futanari", "ero", "solo", "waifu", "pwankg", "eron", "erokemo", ] self.sfwtags = [ "wallpaper", "ngif", "meow", "tickle", "feed", "poke", "slap", "avatar", "lizard", "pat", "8ball", "neko", "cuddle", "woof", "smug", "gecg", "hug", ] # end oh god # pylint: disable=no-member self.api_base_url = "https://nekos.life/api/v2/img/{}" if self.neko.commands: for command in self.neko.commands: self.bot.remove_command(command) for tag in self.all_tags: if tag not in self.sfwtags: cmd = commands.is_nsfw()(commands.command(name=tag)( self._do_neko)) else: cmd = commands.command(name=tag)(self._do_neko) self.neko.add_command(cmd)