nacho
nacho
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
thank u
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
🫡
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
english grammar because its for a school project and im not know english
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
well that right
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
the code before work with that ts-ignore
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
No description
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
required input of what ?
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
i have same error
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
well, thats not the error
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
ohh
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
discord.js remove that
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
addField now dont exist
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
what is the solution ?
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
No description
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
now i have this
const arg = await args.pick('string');
const command = this.container.stores.get('commands').get(arg) as PyraCommandExtends;

if (!command) {
return message.channel.send(`The specified command \`${arg}\` does not exist.`);
}

const embed = new EmbedBuilder()
.setTitle(`Command ${command.name}`)
.setDescription(command.description)
.setColor('#2B2D31')
.setTimestamp()
.setFooter({ text: 'type ;help <command> to extend help of a command specific.' })
.addFields({ name: 'Category', value: `${command.category}` })
.addFields({ name: 'Aliases', value: command.aliases.join(', ') })
.addFields({ name: 'Usages', value: `${command.usage ? command.usage : 'No Usage Provided.'}` })
.addFields({ name: 'Examples', value: `${command.examples ? command.examples.map((example: string) => `\`${example}\``).join('\n') : 'No Examples Provided.'}` });

return message.channel.send({ embeds: [embed] });

const arg = await args.pick('string');
const command = this.container.stores.get('commands').get(arg) as PyraCommandExtends;

if (!command) {
return message.channel.send(`The specified command \`${arg}\` does not exist.`);
}

const embed = new EmbedBuilder()
.setTitle(`Command ${command.name}`)
.setDescription(command.description)
.setColor('#2B2D31')
.setTimestamp()
.setFooter({ text: 'type ;help <command> to extend help of a command specific.' })
.addFields({ name: 'Category', value: `${command.category}` })
.addFields({ name: 'Aliases', value: command.aliases.join(', ') })
.addFields({ name: 'Usages', value: `${command.usage ? command.usage : 'No Usage Provided.'}` })
.addFields({ name: 'Examples', value: `${command.examples ? command.examples.map((example: string) => `\`${example}\``).join('\n') : 'No Examples Provided.'}` });

return message.channel.send({ embeds: [embed] });

35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
i dont have code because i dont know how i can do
35 replies
SIASapphire - Imagine a framework
Created by nacho on 8/7/2023 in #sapphire-support
im trying to do a simple command help but Command dont have a propertie with permissions of handler
read title, "Command dont have a propertie with permissions of handler"
35 replies