From cc6a64516bf6f9b61a7876db20f2fadea786d276 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Mon, 17 Jun 2024 17:25:52 -0600 Subject: [PATCH] Fix error on :125:52 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cfcd126..773d2bc 100644 --- a/index.js +++ b/index.js @@ -122,7 +122,7 @@ client.on('inviteCreate', (invite) => { //if someone creates an invite while bot }, { name: "Inviter", - value: `${invite.inviter} (${invite.inviter.username})` + value: `${invite.inviter} (${invite.inviter.username || "Unknown"})` } ] }]