New stuff

This commit is contained in:
Emotion 2023-04-29 21:59:08 +12:00
parent 0690d8fa0e
commit 954c687084
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 15EBDFF858B9A65A
39 changed files with 4797 additions and 3799 deletions

View file

@ -0,0 +1,8 @@
const chalk = require('chalk');
module.exports = {
name: "connected",
execute() {
console.log(chalk.greenBright("[MONGO DB]: Connected to MongoDB!"));
},
};

View file

@ -0,0 +1,8 @@
const chalk = require('chalk');
module.exports = {
name: "connecting",
execute() {
console.log(chalk.cyan("[MONGO DB]: Connecting to MongoDB..."));
},
};

View file

@ -0,0 +1,8 @@
const chalk = require('chalk');
module.exports = {
name: 'disconnected',
execute(client) {
console.log(chalk.red("[MONGO DB]: Disconnected from MongoDB!"));
},
};

8
events/mongo/err.js Normal file
View file

@ -0,0 +1,8 @@
const chalk = require('chalk');
module.exports = {
name: "err",
execute(err) {
console.log(chalk.red("[MONGO DB]: Error: " + err + ""));
},
};