import { Listener } from "@sapphire/framework";
import { Client, TextChannel } from "discord.js";
export class GuildMemberAddGreeting extends Listener {
public constructor(context: Listener.Context, options: Listener.Options) {
super(context, {
...options,
event: 'guildMemberAdd',
once: false
});
}
public override async run(client: Client) {
//CHANGE ONCE MOVED TO ACM SERVER
const channel = client.channels.cache.get('1115435350060445817');
}
}
import { Listener } from "@sapphire/framework";
import { Client, TextChannel } from "discord.js";
export class GuildMemberAddGreeting extends Listener {
public constructor(context: Listener.Context, options: Listener.Options) {
super(context, {
...options,
event: 'guildMemberAdd',
once: false
});
}
public override async run(client: Client) {
//CHANGE ONCE MOVED TO ACM SERVER
const channel = client.channels.cache.get('1115435350060445817');
}
}