forgot to add files
diff --git a/src/reflex/statsChannelAdd.ts b/src/reflex/statsChannelAdd.ts
new file mode 100644
index 0000000..32de0ff
--- /dev/null
+++ b/src/reflex/statsChannelAdd.ts
@@ -0,0 +1,33 @@
+import convertCurlyBracketString from '../utils/convertCurlyBracketString.js'
+import singleNotify from '../utils/singleNotify.js';
+import client from '../utils/client.js';
+
+export async function callback(_, member) {
+    let config = await client.database.guilds.read(member.guild.id);
+
+    config.stats.forEach(async element => {
+        if (element.enabled) {
+            let string = element.text
+            if (!string) return
+            string = await convertCurlyBracketString(string, member.id, member.displayName, member.guild.name, member.guild.members)
+            let channel;
+            try {
+                channel = await member.client.channels.fetch(element.channel)
+            } catch (error) { channel = null }
+            if (!channel) {
+                return singleNotify(
+                    "statsChannelDeleted",
+                    member.guild.id,
+                    "One or more of your stats channels have been deleted. Please open the settings menu to change this.",
+                    "Critical"
+                )
+            }
+            if (channel.guild.id !== member.guild.id) return
+            try {
+                await channel.edit({ name: string })
+            } catch (err) {
+                console.error(err)
+            }
+        }
+    });
+}