diff --git a/event/listeners/log/channelUpdate.js b/event/listeners/log/channelUpdate.js index c565d59d..b37656d3 100644 --- a/event/listeners/log/channelUpdate.js +++ b/event/listeners/log/channelUpdate.js @@ -15,7 +15,7 @@ class channelUpdateListener extends Listener { if (logStats) { const fetchedLogs = await newChannel.guild.fetchAuditLogs({ limit: 1, - type: 'CHANNEL_CREATE', + type: 'CHANNEL_UPDATE', }); const updateLog = fetchedLogs.entries.first(); @@ -54,4 +54,4 @@ class channelUpdateListener extends Listener { } } } -module.exports = channelUpdateListener; \ No newline at end of file +module.exports = channelUpdateListener;