mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Updated README.md
- Nhentai can no longer be ran in non-nsfw channels
This commit is contained in:
@@ -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
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user