mirror of
https://github.com/alterware/aw-bot.git
synced 2025-10-26 22:16:58 +00:00
feat: big refactor
This commit is contained in:
7
bot/config.py
Normal file
7
bot/config.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import json
|
||||
|
||||
try:
|
||||
with open("patterns.json", "r") as f:
|
||||
message_patterns = json.load(f)
|
||||
except FileNotFoundError:
|
||||
message_patterns = [] # Fallback to an empty list if the file doesn't exist
|
||||
Reference in New Issue
Block a user