Réécriture complète 4.0
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 6m16s
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import { Events } from 'discord.js'
|
||||
import { Events } from "discord.js"
|
||||
import { logConsoleError } from "@/utils/console"
|
||||
|
||||
export default {
|
||||
name: Events.Error,
|
||||
execute(error: Error) {
|
||||
console.error(error)
|
||||
}
|
||||
export const name = Events.Error
|
||||
export function execute(error: Error) {
|
||||
logConsoleError('discordjs', 'error', { message: error.message }, error)
|
||||
}
|
||||
Reference in New Issue
Block a user