finish readme and clean up json examples

This commit is contained in:
Nayan
2025-08-27 04:32:58 +00:00
parent 45e941bac3
commit 61a06a8b01
6 changed files with 36 additions and 59 deletions

4
bot.py
View File

@@ -27,7 +27,7 @@ with open('config.json', 'r') as f:
command_prefix = config['config']['command_prefix']
for regex in config['config']['regex']:
regex_list.append(re.compile(regex['match']))
fprint_list.append(regex['capture'])
fprint_list.append(regex['fstring'])
intents = discord.Intents.default()
intents.message_content = True
@@ -452,7 +452,7 @@ async def reloadregex(ctx):
config = json.load(f)
for regex in config['config']['regex']:
regex_list.append(re.compile(regex['match']))
fprint_list.append(regex['capture'])
fprint_list.append(regex['fstring'])
# Reload the processline module
global processline