mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-06-07 23:49:29 +00:00
Updated Rules and Config Path
This commit is contained in:
parent
c27f1aaba5
commit
7541a6a195
5 changed files with 71 additions and 11 deletions
|
@ -1,9 +1,9 @@
|
|||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { Client, Collection, Events, GatewayIntentBits } from "discord.js";
|
||||
import config from "./config.json" assert { type: "json" };
|
||||
import { deployCommands } from "./util/deployCommand.js";
|
||||
|
||||
const config = JSON.parse(fs.readFileSync('./config.json', 'utf8'));
|
||||
const { token } = config;
|
||||
|
||||
const client: any = new Client({ intents: [GatewayIntentBits.Guilds] });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue