rar/Ramirez.ts

19 lines
593 B
TypeScript
Raw Normal View History

2024-01-24 10:57:37 -05:00
import { Client, GatewayIntentBits, Partials } from "discord.js";
export default class Ramirez {
private readonly c: Client;
private token: string | undefined;
constructor(token?: string) {
this.c = new Client({
intents: [GatewayIntentBits.DirectMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages, GatewayIntentBits.GuildPresences],
partials: [Partials.GuildMember, Partials.Message, Partials.User, Partials.Channel],
});
this.token = token;
}
public get client() {
return this.c;
}
}