Skip to content

Commit

Permalink
change process import
Browse files Browse the repository at this point in the history
  • Loading branch information
Epic428 committed Nov 21, 2023
1 parent 683f190 commit 073eeb7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
import {Client, GatewayIntentBits} from "discord.js";
import { Interactions } from "./utils/interactions";
import {Commands} from "./utils/commands";
import * as process from "process";
import process from "node:process";

const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildMessages] });
const interactions = new Interactions(client);
const commands = new Commands();

const getCommands = () => commands;
const getInteractions = () => interactions;

Expand Down

0 comments on commit 073eeb7

Please sign in to comment.