for coded
diff --git a/src/events:TODO/guildScheduledEventCreate.ts b/src/events:TODO/guildScheduledEventCreate.ts
new file mode 100644
index 0000000..489dd2f
--- /dev/null
+++ b/src/events:TODO/guildScheduledEventCreate.ts
@@ -0,0 +1,24 @@
+const {addLog} = require('../scripts/addLogs');
+
+module.exports = {
+ name:'guildScheduledEventCreate',
+ once:false,
+ async execute(event) {
+ let data = {
+ id: event.id,
+ name: event.name,
+ description: event.description,
+ channel: event.channel.id,
+ time: {
+ start: event.scheduledStartTimestamp,
+ end: event.scheduledEndTimestamp
+ },
+ date: event.date,
+ createdBy: event.creator.id,
+ createdAt: event.createdTimestamp,
+ privacyLevel: event.privacyLevel
+ }
+
+ addLog(event.guild.id, data);
+ }
+}
\ No newline at end of file