Adds ICS
This commit is contained in:
parent
441715675c
commit
a79898b2e9
48 changed files with 2062 additions and 1503 deletions
|
|
@ -21,26 +21,18 @@ const logger = container.get<Logger>("logger");
|
|||
const client = container.get<DiscordClient>(DiscordClient.name);
|
||||
client.connectRESTClient(environment.discord.token)
|
||||
|
||||
logger.log("Deploying Commands...")
|
||||
|
||||
const deployer = new CommandDeployer(client, logger);
|
||||
(async () => {
|
||||
await deployer.deployAvailableServers()
|
||||
})()
|
||||
|
||||
|
||||
logger.log("Ensuring Database...");
|
||||
const updater = new DatabaseUpdater(container.get<DatabaseConnection>(DatabaseConnection.name));
|
||||
updater.ensureAvaliablity(Definitions);
|
||||
|
||||
logger.log("Ensuring icons...");
|
||||
(async () => {
|
||||
const iconCache = container.get<IconCache>(IconCache.name);
|
||||
await iconCache.populate();
|
||||
|
||||
const deployer = new IconDeployer(
|
||||
iconCache
|
||||
);
|
||||
const iconCache = container.get<IconCache>(IconCache.name);
|
||||
await iconCache.populate();
|
||||
|
||||
deployer.ensureExistance()
|
||||
const deployer = new IconDeployer(
|
||||
iconCache
|
||||
);
|
||||
|
||||
deployer.ensureExistance()
|
||||
})()
|
||||
Loading…
Add table
Add a link
Reference in a new issue