log creations
This commit is contained in:
parent
d463b0ffd5
commit
14cdd78086
2
index.js
2
index.js
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue