for coded
diff --git a/src/events:TODO/threadCreate.ts b/src/events:TODO/threadCreate.ts
new file mode 100644
index 0000000..63c29a4
--- /dev/null
+++ b/src/events:TODO/threadCreate.ts
@@ -0,0 +1,22 @@
+const {addLog} = require('../scripts/addLogs');
+module.exports = {
+ name:'threadCreate',
+ once:false,
+ async execute(thread) {
+
+ let data = {
+ autoArchiveDuration: thread.autoArchiveDuration,
+ id: thread.id,
+ locked: thread.locked,
+ name: thread.name,
+ parentChannel: thread.parent.id,
+ slowmode: thread.rateLimitPerUser,
+ type: thread.type,
+ createdAt: thread.createdTimestamp,
+ createdBy: thread.ownerId
+ }
+
+ addLog(thread.guild.id, data);
+
+ }
+}
\ No newline at end of file