3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00

Add !about command

This commit is contained in:
Dragory 2019-04-23 05:58:50 +03:00
parent 66e1cdee4b
commit badb645703
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();
});