Updated log function
This commit is contained in:
@@ -85,7 +85,7 @@ export default {
|
||||
if (process.env.NODE_ENV === "dev") return
|
||||
|
||||
const [error] = await tryCatch(updateWaitingList())
|
||||
if (error) return log("Error while trying to update waiting list.", "error")
|
||||
if (error) return log.error("Error while trying to update waiting list.")
|
||||
|
||||
async function updateWaitingList() {
|
||||
const channel = guild.channels.cache.get(waitingListChannel) as TextChannel
|
||||
|
||||
Reference in New Issue
Block a user