Fix some stuff
This commit is contained in:
parent
730508a60a
commit
0afd3e460a
|
|
@ -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}\`||`,
|
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
|
color: 0x00ff00
|
||||||
}],
|
}],
|
||||||
components: [
|
// components: [
|
||||||
{
|
// {
|
||||||
type: 1,
|
// type: 1,
|
||||||
components: [
|
// components: [
|
||||||
{
|
// {
|
||||||
type: Discord.ComponentType.Button,
|
// type: Discord.ComponentType.Button,
|
||||||
label: "Reset Password",
|
// label: "Reset Password",
|
||||||
emoji: "🔄",
|
// emoji: "🔄",
|
||||||
style: Discord.ButtonStyle.Danger,
|
// style: Discord.ButtonStyle.Danger,
|
||||||
custom_id: "resetPassword"
|
// custom_id: "resetPassword"
|
||||||
}
|
// }
|
||||||
]
|
// ]
|
||||||
}
|
// }
|
||||||
],
|
// ],
|
||||||
ephemeral: true
|
ephemeral: true
|
||||||
})
|
})
|
||||||
if (process.env.EXTENSION_ROLE_ID) await interaction.member.roles.add(process.env.EXTENSION_ROLE_ID);
|
if (process.env.EXTENSION_ROLE_ID) await interaction.member.roles.add(process.env.EXTENSION_ROLE_ID);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue