Xithrius / Xythrion-legacy

Graphing manipulated data in Discord.
MIT License
11 stars 3 forks source link

Deciding if this odd command should be kept. #3

Closed Xithrius closed 4 years ago

Xithrius commented 4 years ago

Let me know if you actually want this bot. I have a couple who want it, but I'm not fully convinced if it should be kept.

@comms.command()
async def neko(self, ctx: comms.Context) -> None:
    """Returns a 'neko' (human cat-girl, not actual cat) image in an embed."""
    url = await http_get('https://nekos.life/api/v2/img/neko', session=self.bot.session)
    embed = discord.Embed(description=markdown_link('Image url', url['url']))

    embed.set_image(url=url['url'])
    embed.set_footer(text='Taken from https://nekos.life/')

    await ctx.send(embed=embed)

By default this will be left out of the bot.

Xithrius commented 4 years ago

Of course this should be left out. I've found out that this command can output fairly inappropriate images, which I'm not willing to work around. I will not be changing my opinion on this.