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:
parent
3b340a92c1
commit
a5f34d6e9a
5 changed files with 112 additions and 3 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue