mirror of
https://github.com/Sneed-Group/clanrocket-2
synced 2025-01-09 17:53:13 +00:00
Update 'index.js'
This commit is contained in:
parent
a9f242eaeb
commit
2ca4d764f0
1 changed files with 148 additions and 145 deletions
5
index.js
5
index.js
|
@ -9,13 +9,16 @@ const client = new Client({
|
|||
const { SlashCommandBuilder } = require('@discordjs/builders');
|
||||
const { REST } = require('@discordjs/rest');
|
||||
const { Routes } = require('discord-api-types/v9');
|
||||
const db = require('quick.db');
|
||||
const { QuickDB } = require("quick.db");
|
||||
const express = require('express');
|
||||
|
||||
// Initialize Express.js app
|
||||
const app = express();
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
// Initialize the DB
|
||||
const db = new QuickDB();
|
||||
|
||||
// Retrieve Application ID from environment variable
|
||||
const applicationId = process.env.DISCORD_APPLICATION_ID;
|
||||
|
||||
|
|
Loading…
Reference in a new issue