Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

fix: make ignore_extra work for no param prefixed cmds #582

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

AstreaTSS
Copy link
Contributor

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

What the title says - makes it so if the prefixed command has no functions and has ignore_extra turned off, then it'll error out as intended.

Changes

  • Add in an extra check when there are no parameters to see if there are arguments while ignore_extra is off.

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

@LordOfPolls LordOfPolls merged commit c5e1bad into NAFTeam:dev Aug 2, 2022
@AstreaTSS AstreaTSS deleted the ignore-extra-fix branch August 2, 2022 15:42
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.

4 participants