You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The repository contains two functions named CheckAdmin and CheckIMAdmin, which appear to serve similar purposes of checking user permissions. However, it's not entirely clear from the code or existing documentation what the distinction between these two functions is. This issue aims to request clarification or documentation explaining the difference between these functions and when each should be used.
Possible Actions:
Provide a detailed explanation in the code comments or README file about the specific use cases for CheckAdmin and CheckIMAdmin functions.
Update existing documentation to include a section that clearly outlines the differences and usage scenarios for these functions.
If there are no significant differences between these functions, consider consolidating them into a single function with configurable parameters to handle both cases.
Additional information
Expected Outcome:
Developers should have a clear understanding of when to use CheckAdmin versus CheckIMAdmin functions, thereby improving code clarity and maintainability.
The text was updated successfully, but these errors were encountered:
cubxxw
added
other
Indicates an issue or PR lacks a `triage/foo` label and requires one.
support
Categorizes issue or PR as a support question.
labels
Mar 18, 2024
What would you like to share?
Description:
The repository contains two functions named CheckAdmin and CheckIMAdmin, which appear to serve similar purposes of checking user permissions. However, it's not entirely clear from the code or existing documentation what the distinction between these two functions is. This issue aims to request clarification or documentation explaining the difference between these functions and when each should be used.
Possible Actions:
Additional information
Expected Outcome:
Developers should have a clear understanding of when to use CheckAdmin versus CheckIMAdmin functions, thereby improving code clarity and maintainability.
The text was updated successfully, but these errors were encountered: