changed most discord actions to be handled by 1 script. this should cut down on errors and allow you to actually use the bot in other servers (i think)
This commit is contained in:
parent
c97762e84c
commit
b7492c8ad0
30 changed files with 262 additions and 684 deletions
|
@ -2,7 +2,7 @@ import { GatewayIntentBits, Partials, Client } from "discord.js";
|
|||
import events from "./events/importEvents.js";
|
||||
import register from "./register-commands.js";
|
||||
|
||||
const client = new Client({
|
||||
export const client = new Client({
|
||||
intents: [
|
||||
GatewayIntentBits.Guilds,
|
||||
GatewayIntentBits.GuildMembers,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue