Skip to content

Conversation

@EepyElvyra
Copy link
Contributor

@EepyElvyra EepyElvyra commented Feb 16, 2022

Checklist

  • I've ran pre-commit to format and lint the change(s) made.
  • I've checked to make sure the change(s) work on 3.8.6 and higher.
  • This fixes/solves an Issue.
    - [ ] issue: [REQUEST] create a function for command checking #527
  • I've made this pull request for/as: (check all that apply)
    • Documentation
    • Breaking change
    • New feature/enhancement
    • Bugfix

@EepyElvyra EepyElvyra added the enhancement New feature or request label Feb 16, 2022
@EepyElvyra EepyElvyra requested review from FayeDel and i0bs February 16, 2022 16:47
@EepyElvyra EepyElvyra linked an issue Feb 16, 2022 that may be closed by this pull request
@EepyElvyra EepyElvyra marked this pull request as draft February 16, 2022 17:16
@EepyElvyra EepyElvyra marked this pull request as ready for review February 16, 2022 21:06
Copy link
Collaborator

@FayeDel FayeDel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏻

@i0bs i0bs enabled auto-merge (squash) February 18, 2022 03:33
@i0bs i0bs merged commit c2bafa3 into interactions-py:unstable Feb 18, 2022
@EepyElvyra EepyElvyra deleted the check_command branch February 18, 2022 06:41
i0bs pushed a commit that referenced this pull request Feb 25, 2022
* a

* refactor: create an extra function for command payload checking

* refactor: extract command checking into seperate function

* fix!: change convertion and prevent NoneType error

* refactor: update regex to not allow uppercase letters

* refactor: update regex

* refactor: add check for context menus and fix typo

* fix!: add missing ``not``

* Add check for duplicated option names on same command

* refactor: update regex in pyi

* refactor: correct description check

* refactor: check for `**kwargs` in coro check

* refactor: indent debug strings to create a visual separation

* remove leftover #

* refactor: correct logging statement

* fix!: option parsing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] create a function for command checking

3 participants