If you were learning through a script, then you can check the users id/name/type and reject the correction.
In general we do not recommend letting other users teach your bot new responses.
If you want a specific user to be able to train your bot you can make them an admin user.