Fix some stuff

This commit is contained in:
Christopher Cookman 2026-07-03 14:12:49 -06:00
parent 730508a60a
commit 0afd3e460a

View file

@ -30,20 +30,20 @@ module.exports.execute = async (interaction) => {
description: `**PBX Address:** \`${process.env.PBX_HOSTNAME}\`\n**Extension:** \`${extInfo.fetchExtension.user.extension}\`\n**Name:** \`${extInfo.fetchExtension.user.name}\`\n**Password:** ||\`${extInfo.fetchExtension.user.extPassword}\`||`,
color: 0x00ff00
}],
components: [
{
type: 1,
components: [
{
type: Discord.ComponentType.Button,
label: "Reset Password",
emoji: "🔄",
style: Discord.ButtonStyle.Danger,
custom_id: "resetPassword"
}
]
}
],
// components: [
// {
// type: 1,
// components: [
// {
// type: Discord.ComponentType.Button,
// label: "Reset Password",
// emoji: "🔄",
// style: Discord.ButtonStyle.Danger,
// custom_id: "resetPassword"
// }
// ]
// }
// ],
ephemeral: true
})
if (process.env.EXTENSION_ROLE_ID) await interaction.member.roles.add(process.env.EXTENSION_ROLE_ID);