veldtech / miki-bot

Miki Discord Bot
https://miki.bot
149 stars 48 forks source link

allow nsfw commands to run in any channel marked as a nsfw channel #329

Closed zfbx closed 6 years ago

zfbx commented 7 years ago

nsfw commands rule34, e621, yandere and gelbooru only work if a channel is named "nsfw" but I want my channel to be called other things like "hentai" or run the commands in other channels reguardless of their name.. could you make it where these commands will work in any channel that has the nsfw property on the channel itself rather than by its name?

adv0catus commented 7 years ago

Discord API doesn't support this.

adv0catus commented 7 years ago

Also, please make suggestions in the #suggestions channel on the official Miki support server: https://discord.gg/veUGD9t

zfbx commented 7 years ago

the C# api doesn't? cause I know for sure Discord supports this because discord.js supports message.channel.nsfw returning a boolean

zfbx commented 7 years ago

I don't really consider this a suggestion as much as a bug.. even causes confusion for people wondering why the command doesn't work cause it doesn't give any feedback like "rename the channel to nsfw" or something.

velddev commented 7 years ago

Hey zfbTony,

You are indeed right. This is a library related issue. They have a fix for 1.0.3, however, I do not like to have unreleased libraries in production. Hope you agree with me on that :)

This is definitely an issue and not a suggestion. I'll look into when the update releases!

velddev commented 6 years ago

Hey,

this fix has been implemented in the latest git commit and will be shipped in miki 0.6