Added bool/char typereaders

This commit is contained in:
RogueException
2016-10-06 04:05:32 -03:00
parent 6c77914162
commit 98475302af
2 changed files with 9 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ namespace Discord.Commands
_map = new CommandMap();
_typeReaders = new ConcurrentDictionary<Type, TypeReader>
{
[typeof(bool)] = new SimpleTypeReader<bool>(),
[typeof(char)] = new SimpleTypeReader<char>(),
[typeof(string)] = new SimpleTypeReader<string>(),
[typeof(byte)] = new SimpleTypeReader<byte>(),
[typeof(sbyte)] = new SimpleTypeReader<sbyte>(),