Skip to content

Commit

Permalink
Merge pull request #34 from Dunedan/disable-options-for-modbot-commands
Browse files Browse the repository at this point in the history
Disallow options for ModBot commands
  • Loading branch information
Dunedan authored Mar 19, 2024
2 parents cbabfe0 + 419ebb3 commit 334d235
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xpartamupp/modbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def __init__(self, *args, **kwargs) -> None:
"""
kwargs["add_help"] = False
kwargs["exit_on_error"] = False
kwargs["prefix_chars"] = [None]
super().__init__(*args, **kwargs)
self._positionals = self.add_argument_group("arguments")

Expand Down

0 comments on commit 334d235

Please sign in to comment.