vermi-zz / rbot

An IRC bot based on goirc and the ideas of MPU
http://www.pl0rt.org/code/goirc/
3 stars 1 forks source link

!Profile doesn't allow valid A-P usernames as arguments #16

Closed Frosty-nee closed 13 years ago

Frosty-nee commented 13 years ago

!profile Fazerella will return "could not find nick Fazerella" despite http://www.anime-planet.com/users/Fazerella existing

raylu commented 13 years ago

I think this is working as intended.

The code currently does not allow the argument to be an AP username, only an IRC nick.

What you are suggesting is that, in addition to accepting the argument as an IRC nick and looking up the AP username using the current logic, also allow the argument to be an AP username if nick lookup fails. I feel that this is too complicated, though I see how this may be useful and it may be intuitive enough to use. I think users will be very confused when a !profile command fails when another succeeds, especially in the case of someone with a nick that is the same as a username who has configured (with !apnick, which is a silly name for a command, by the way) another username.