- Updated README.md

- Nhentai can no longer be ran in non-nsfw channels
This commit is contained in:
Kwoth
2021-08-18 03:07:38 +02:00
parent 5e83d5570d
commit 75eca393af
4 changed files with 91 additions and 29 deletions

View File

@@ -380,6 +380,7 @@ namespace NadekoBot.Modules.NSFW
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
[RequireNsfw(Group = "nsfw_or_dm"), RequireContext(ContextType.DM, Group = "nsfw_or_dm")]
[Priority(1)]
public async Task Nhentai(uint id)
{
@@ -396,6 +397,7 @@ namespace NadekoBot.Modules.NSFW
[NadekoCommand, Aliases]
[RequireContext(ContextType.Guild)]
[RequireNsfw(Group = "nsfw_or_dm"), RequireContext(ContextType.DM, Group = "nsfw_or_dm")]
[Priority(0)]
public async Task Nhentai([Leftover]string query)
{