Closed samarmeena closed 3 years ago
todo
comment in 79b85cc574482922064fada0a51e290eb783749f in #62. cc @oceanroleplay.How likely will this PR be merged into Slash branch? I'm quite eager to use this package as a whole, and this PR would help manage my buttons alongside all the other command stuffs.
How likely will this PR be merged into Slash branch? I'm quite eager to use this package as a whole, and this PR would help manage my buttons alongside all the other command stuffs.
Hello, you can clone this PR and use it manually until it is merged.
@Command
decorator let you create commands with any prefix, define prefix resolver in Client
object
@Discord()
export abstract class commandTest {
@Command("mycommand")
async cmd(
@CommandOption("a") a: string, //
@CommandOption("b") b: number,
message: Message
) {
console.log("I am cmd");
message.reply("Hi, I am working");
}
}
will this be reviewed and merged? I really need the @Option fix.
Stale
For those who use this PR for their projects
discordx (npm install discordx)
package built on above mentioned repo for latest features and bug fixThank you all for your support and help.
Status: Fully Functional (check todo, if anything yet to add in lib)
New features
@Command
to support v4 commandsTodo
Doc Todo
@Guard, @Button, @Bot, @SelectMenu @DefaultPermission @Command @CommandOption
@Bot, @Button and @SelectMenu
Test Required
Issues with this pull
Issue Fixed
Pull Accepted