swindonmakers / AccessSystem

Swindon Makerspace access system
2 stars 3 forks source link

Error on /whois failure is confusing #59

Closed theorbtwo closed 7 months ago

theorbtwo commented 11 months ago

https://github.com/swindonmakers/AccessSystem/blob/fd4bf910ffb512ec72f7683b9af2f29a0165bd68/lib/AccessSystem/TelegramBot.pm#L424

The /whois command should give different results for "I cannot find any matching people", vs "I cannot parse the command".

castaway commented 7 months ago

Looks like we fixed this at some point.. it says I cant find a member with that name, or "Try /whois .. "