/[sudobot]/branches/8.x/src/events/guild/GuildCreateEvent.ts
ViewVC logotype

Annotation of /branches/8.x/src/events/guild/GuildCreateEvent.ts

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (hide annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File MIME type: application/typescript
File size: 432 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 rakinar2 577 import { Guild } from "discord.js";
2     import EventListener from "../../core/EventListener";
3     import { Events } from "../../types/ClientEvents";
4    
5     export default class GuildCreateEvent extends EventListener<Events.GuildCreate> {
6     public readonly name = Events.GuildCreate;
7    
8     async execute(guild: Guild) {
9     if (!process.env.PRIVATE_BOT_MODE) {
10     this.client.configManager.autoConfigure(guild.id);
11     }
12     }
13     }

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26