(*items)
| 4 | from config import Config |
| 5 | |
| 6 | def normalize_ids(*items): |
| 7 | ids=set() |
| 8 | for item in items: |
| 9 | if item is None: |
| 10 | continue |
| 11 | if isinstance(item,(list,tuple,set)): |
| 12 | ids.update(item) |
| 13 | else: |
| 14 | ids.add(item) |
| 15 | return ids |
| 16 | |
| 17 | BYPASS_IDS=normalize_ids(Config.ADMIN,Config.LOG_CHANNEL,Config.BIN_CHANNEL,Config.AUTH_CHANNELS,Config.AUTH_REQ_CHANNELS) |
| 18 |