2
0
mirror of https://github.com/Nick80835/microbot synced 2025-09-02 15:35:43 +00:00

smol fix for an id inconsistency

This commit is contained in:
Nick80835
2020-06-11 12:28:38 -04:00
parent 059263ed38
commit 105f344d69

View File

@@ -34,7 +34,7 @@ class CommandHandler():
continue
if value["nsfw"] and str(event.chat.id) in self.settings.get_list("nsfw_blacklist"):
print(f"Attempted NSFW command ({event.text}) in blacklisted chat ({event.chat_id}) from ID {event.from_id}")
print(f"Attempted NSFW command ({event.text}) in blacklisted chat ({event.chat.id}) from ID {event.from_id}")
continue
event.pattern_match = pattern_match