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:
parent
66e1cdee4b
commit
badb645703
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