Open soxidus opened 4 years ago
Definitely use "in"! I changed this a while ago to support supergroups AND groups and other types of groups (not sure whether there are others, but we should support both since I'm not even sure it needs to be a supergroup anymore since telegram changed group features).
I fixed the structure in command functions depicted above in commit bf3d53a. Keeping this issue open until public milestone is reached if further nonuniform code is found in the process.
We should use a uniform call structure. Code example:
either use "in" to check or compare with "==" operator if a field is set to a specific value.