log creations

This commit is contained in:
Christopher Cookman 2024-09-13 23:45:51 -06:00
parent d463b0ffd5
commit 14cdd78086
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -107,7 +107,7 @@ Client.on("interactionCreate", async (interaction) => {
if (!usernameFilter.test(inputUsername)) return interaction.reply({ephemeral: true, content: "Your username contains invalid characters.\nYour username MUST contain only the characters `a-z`, `0-9`, `.`, `_`, `=`, `-`, `/`, and `+`."});
const mxid = formatUsername(inputUsername);
console.log(`${colors.cyan('[Info]')} ${interaction.user.displayName} (${interaction.user.id}) is trying to make account ${mxid}`)
// Check if the user exists
const userCheck = await fetch(`${MATRIX_BASE_URL}/_synapse/admin/v2/users/${mxid}`, {
headers: {