JDA-Utilities icon indicating copy to clipboard operation
JDA-Utilities copied to clipboard

[Feature] Get command

Open Artuto opened this issue 5 years ago • 2 comments

Pull Request

Pull Request Checklist

Please follow the following steps before opening this PR.
PRs that do not complete the checklist will be subject to denial for missing information.

Pull Request Information

Check and fill in the blanks for all that apply:

  • [ ] My PR fixes a bug, error, or other issue with the library's codebase.
  • [x] My PR is for the command module of the JDA-Utilities library.
  • [ ] My PR creates a new module for the JDA-Utilities library: ______.

Description

Adds the getCommand(String) method to the command client for retrieving a command with ease.

Artuto avatar Oct 22 '18 19:10 Artuto

In my opinion, if this method is going to be separated, it should also be used internally when finding a command.

jagrosh avatar Oct 22 '18 20:10 jagrosh

This might clash with #71 which wasn't merged yet

kantenkugel avatar Oct 22 '18 21:10 kantenkugel