Retaliation icon indicating copy to clipboard operation
Retaliation copied to clipboard

Improved dictionary lookup

Open Aaron1011 opened this issue 12 years ago • 0 comments

Hello,

Right now, Retaliation is looking through each key in the dictionary, and comparing its lowercase value with the lowercase value of the user to target. This could be much improved by simply looking up the lowercase value of the user to target in the COMMAND_SETS dictionary, and having all entries in the COMMAND_SETS dictionary be in lowercase.

Thanks, Aaron

Aaron1011 avatar Dec 26 '12 13:12 Aaron1011