mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[Core] Removed flusher, helpers now save on changes
After some considerations, while the flusher was an interesting experiment, it doesn't seem to be reliable enough. It's been removed in favor of the helpers autosaving on any change in a threadsafe way.
This commit is contained in:
2
main.py
2
main.py
@@ -1,7 +1,6 @@
|
||||
from core.bot import Red, ExitCodes
|
||||
from core.global_checks import init_global_checks
|
||||
from core.events import init_events
|
||||
from core.json_flusher import init_flusher
|
||||
from core.settings import parse_cli_flags
|
||||
import asyncio
|
||||
import discord
|
||||
@@ -53,7 +52,6 @@ def init_loggers(cli_flags):
|
||||
if __name__ == '__main__':
|
||||
cli_flags = parse_cli_flags()
|
||||
log = init_loggers(cli_flags)
|
||||
init_flusher()
|
||||
description = "Red v3 - Alpha"
|
||||
red = Red(cli_flags, description=description, pm_help=None)
|
||||
init_global_checks(red)
|
||||
|
||||
Reference in New Issue
Block a user