How to get the creator of a channel on event channelCreate in discord.js

You can try listening to the channelCreate event and then fetch the GuildAuditLogs with Guild.fetchAuditLogs(). Then you can look for the most recent AuditLogEntry who’s AuditLogAction is CHANNEL_CREATE. From that you can get the .executor to see who triggered the event

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top