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