- 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

@@ -0,0 +1,11 @@
# Coordinator project
Grpc-based coordinator useful for sharded NadekoBot. Its purpose is controlling the lifetime and checking status of the shards it creates.
### Supports
- Checking status
- Individual shard restarts
- Full shard restarts
- Graceful coordinator restarts (restart/update coordinator without killing shards)
- Kill/Stop

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)
{