Updated all files to new interfaces

This commit is contained in:
2024-02-16 16:03:04 +01:00
parent 137401630e
commit 769c3d12ed
77 changed files with 168 additions and 168 deletions

View File

@@ -1,6 +1,6 @@
import { GuildMember, userMention } from "discord.js"
import { embedColor } from "config/options"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import logToChannel from "utils/functions/logtochannel"
export = {
@@ -27,4 +27,4 @@ export = {
}]
})
}
} as Event
} as IEvent

View File

@@ -1,6 +1,6 @@
import { ChatInputCommandInteraction, ButtonInteraction } from "discord.js"
import color from "utils/functions/colors"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
export = {
name: "logBtnsCmds",
@@ -51,4 +51,4 @@ export = {
return
}
}
} as Event
} as IEvent

View File

@@ -1,5 +1,5 @@
import { Message } from "discord.js"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import env from "utils/Env"
export = {
@@ -31,4 +31,4 @@ export = {
})
}
}
} as Event
} as IEvent

View File

@@ -1,4 +1,4 @@
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import { Message } from "discord.js"
export = {
@@ -11,4 +11,4 @@ export = {
message.react("Woot:734345936347725885")
}
}
} as Event
} as IEvent

View File

@@ -1,5 +1,5 @@
import { ChannelType, Message } from "discord.js"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import snipeCacheSchema from "schemas/snipeCacheSchema"
import mongoose from "mongoose"
import { SnipeCache } from "typings"
@@ -32,4 +32,4 @@ export = {
await snipeCache.save()
}
} as Event
} as IEvent

View File

@@ -1,4 +1,4 @@
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import { ExtendedClient as Client } from "utils/Client"
import color from "utils/functions/colors"
@@ -10,4 +10,4 @@ export = {
execute(client: Client) {
console.log(color("Logged in as " + client.user!.tag + "!", "green"))
}
} as Event
} as IEvent

View File

@@ -1,5 +1,5 @@
import logToChannel from "utils/functions/logtochannel"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import { embedColor } from "config/options"
export = {
@@ -17,4 +17,4 @@ export = {
}]
})
}
} as Event
} as IEvent

View File

@@ -1,5 +1,5 @@
import statuses from "config/statuses"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import { ExtendedClient as Client } from "utils/Client"
export = {
@@ -27,4 +27,4 @@ export = {
user.setStatus("dnd")
}
} as Event
} as IEvent

View File

@@ -1,6 +1,6 @@
import { userMention, channelMention, VoiceState } from "discord.js"
import { embedColor } from "config/options"
import { Event } from "interfaces"
import { IEvent } from "interfaces"
import logToChannel from "utils/functions/logtochannel"
export = {
@@ -58,4 +58,4 @@ export = {
})
}
}
} as Event
} as IEvent