diff --git a/src/Discord.Net.Commands/Command.cs b/src/Discord.Net.Commands/Command.cs index 5dcb8788a..95f2a2c52 100644 --- a/src/Discord.Net.Commands/Command.cs +++ b/src/Discord.Net.Commands/Command.cs @@ -95,7 +95,7 @@ namespace Discord.Commands if (reader == null && underlyingTypeInfo.IsEnum) { - reader = EnumTypeReader.GetReader(type); + reader = EnumTypeReader.GetReader(underlyingType); Module.Service.AddTypeReader(type, reader); }