Loading the database into the memory.

This commit is contained in:
2026-02-28 23:38:21 +00:00
parent e806e3cc1f
commit df122f1470
4 changed files with 96 additions and 1 deletions

View File

@@ -30,6 +30,8 @@ namespace Reactor.Services
//Initialize the Database
await DatabaseService.InitializeAsync();
await ReactionRoleService.LoadAllAsync();
Console.WriteLine($"Loaded {ReactionRoleService.Messages.Count} reaction messages into memory.");
//Initialize the Planets
await PlanetService.InitializePlanetsAsync(client, channelCache, initializedPlanets);