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
I wonder which would be the correct procedure to store in a file the message filtered with whitelist before to forward to another group.
Checking the file
local/lib/python3.9/site-packages/tgcf/plugins/filter.py
in line 73
# if whitelist is present
for allowed in flist.whitelist:
if match(allowed, text, self.filters.text.regex):
return True # only when atleast one whitelisted pattern is found
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I wonder which would be the correct procedure to store in a file the message filtered with whitelist before to forward to another group.
Checking the file
local/lib/python3.9/site-packages/tgcf/plugins/filter.py
in line 73
I was thinking in add
and insert
but i didn't get the file.
Any advice or better way to get the whitelisted messages storaged on a file?
Regards!
Beta Was this translation helpful? Give feedback.
All reactions