Parent Directory
|
Revision Log
chore: eslint autofix
1 | rakin | 77 | import BaseEvent from '../../utils/structures/BaseEvent'; |
2 | import DiscordClient from '../../client/Client'; | ||
3 | import { LogLevel } from '../../services/DebugLogger'; | ||
4 | import { Guild } from 'discord.js'; | ||
5 | |||
6 | export default class GuildDeleteEvent extends BaseEvent { | ||
7 | constructor() { | ||
8 | super('guildDelete'); | ||
9 | } | ||
10 | |||
11 | async run(client: DiscordClient, guild: Guild) { | ||
12 | await client.debugLogger.logLeaveJoin(LogLevel.INFO, `Left a guild: ${guild.name} [ID: ${guild.id}]`); | ||
13 | } | ||
14 | } |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |