From 3e36cfcd5779d552a10803b727eb3fe227fbe855 Mon Sep 17 00:00:00 2001 From: Damien <48047820+JustDams@users.noreply.github.com> Date: Sat, 22 Apr 2023 02:01:58 +0200 Subject: [PATCH] remove: mongo (#329) --- bot.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bot.js b/bot.js index 19b79ea7..f475df2a 100644 --- a/bot.js +++ b/bot.js @@ -3,10 +3,8 @@ const fs = require('fs') const AntiSpam = require('./templates/antispam') const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildMessages] }) const { updateRoles } = require('./functions/roles') -const mongo = require('./database/mongo') require('dotenv').config() -mongo().then(() => { console.info('🧱 Connected to mongo') }).catch(console.error) client.antispam = new AntiSpam() @@ -18,4 +16,4 @@ fs.readdirSync('./events').filter(file => file.endsWith('.js')).forEach(async (f // Start the bot client.login(process.env.TOKEN) -setInterval(() => { updateRoles(client) }, 3600000) \ No newline at end of file +setInterval(() => { updateRoles(client) }, 3600000)