Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Fixes and New Features #62

Closed
wants to merge 106 commits into from
Closed

Fixes and New Features #62

wants to merge 106 commits into from

Conversation

vijayymmeena
Copy link
Contributor

@vijayymmeena vijayymmeena commented Jul 1, 2021

For those who use this PR for their projects

Thank you all for your support and help.


Status: Fully Functional (check todo, if anything yet to add in lib)

  • this pull has been verified with jest test built by owen.

New features

  • added multiple bot support
  • added new interactions: button, selectMenu
  • added @Command to support v4 commands
  • add new init slash method
  • Code improved with lint
  • added more example for new decorators

Todo

  • none

Doc Todo

  • add doc for multiple bot instance, the login should be executed at the very end of all bots.
  • doc update for @Guard, @Button, @Bot, @SelectMenu @DefaultPermission @Command @CommandOption
  • readme.md update for @Bot, @Button and @SelectMenu

Test Required

  • none

Issues with this pull

  • none

Issue Fixed

Pull Accepted

src/Client.ts Outdated Show resolved Hide resolved
src/Client.ts Outdated Show resolved Hide resolved
src/Client.ts Outdated Show resolved Hide resolved
src/decorators/classes/DSlash.ts Outdated Show resolved Hide resolved
src/Client.ts Outdated Show resolved Hide resolved
.eslintrc Outdated Show resolved Hide resolved
src/decorators/classes/Decorator.ts Show resolved Hide resolved
@vijayymmeena
Copy link
Contributor Author

@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");
  }
}

@zLupa
Copy link

zLupa commented Jul 18, 2021

will this be reviewed and merged? I really need the @option fix.

@vijayymmeena
Copy link
Contributor Author

vijayymmeena commented Sep 27, 2021

Stale

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants