diff --git a/Commands/InteractionCommands/RulesInteractions.cs b/Commands/InteractionCommands/RulesInteractions.cs index 0c9cd8d..0cf4aa2 100644 --- a/Commands/InteractionCommands/RulesInteractions.cs +++ b/Commands/InteractionCommands/RulesInteractions.cs @@ -106,7 +106,7 @@ public async Task RuleSearchCommand(InteractionContext ctx, [Option("keyword", " // Returns: true for public response, false for private private async Task DeterminePublicResponse(DiscordMember member, DiscordChannel channel, bool? isPublic) { - if (Program.cfgjson.RulesAllowedPublicChannels.Contains(channel.Id)) + if (Program.cfgjson.RulesAllowedPublicChannels.Contains(channel.Id) || Program.cfgjson.RulesAllowedPublicChannels.Contains(channel.Parent.Id)) { if (isPublic is null) return true;