3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-13 13:25:03 +00:00

Add !about command

This commit is contained in:
Dragory 2019-04-23 05:58:50 +03:00
parent 3b340a92c1
commit a5f34d6e9a
5 changed files with 112 additions and 3 deletions

View file

@ -90,6 +90,7 @@ import { RemindersPlugin } from "./plugins/Reminders";
import { errorMessage, successMessage } from "./utils";
import { ZeppelinPlugin } from "./plugins/ZeppelinPlugin";
import { customArgumentTypes } from "./customArgumentTypes";
import { startUptimeCounter } from "./uptime";
// Run latest database migrations
logger.info("Running database migrations");
@ -204,6 +205,10 @@ connect().then(async conn => {
},
});
client.once("ready", () => {
startUptimeCounter();
});
logger.info("Starting the bot");
bot.run();
});