Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Fix Module Preconditions #343

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Discord.Net.Interactions/Info/ModuleInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private static IEnumerable<PreconditionAttribute> BuildPreconditions (ModuleBuil
{
var preconditions = new List<PreconditionAttribute>();

var parent = builder.Parent;
var parent = builder;

while (parent != null)
{
Expand Down