mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 06:28:53 +00:00
fix: annotations for events
This commit is contained in:
1 parent
39e818283d
commit
b118ebdfb0
26 files changed
+231
-173
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { Events } from 'discord.js';
|
||||
import { Events, Guild } from 'discord.js';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import loggerModule from '../../services/logger';
|
||||
|
||||
@@ -6,7 +6,7 @@ module.exports = {
|
||||
name: Events.GuildCreate,
|
||||
isDebug: false,
|
||||
once: false,
|
||||
execute: async (guild) => {
|
||||
execute: async (guild: Guild) => {
|
||||
const executionId = uuidv4();
|
||||
const logger = loggerModule.child({
|
||||
source: 'guildCreate.js',
|
||||
|
||||
Reference in new issue
Block a user