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.