Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

required positional argument: 'desc' error #12

Open
benstigsen opened this issue Jul 16, 2017 · 2 comments
Open

required positional argument: 'desc' error #12

benstigsen opened this issue Jul 16, 2017 · 2 comments

Comments

@benstigsen
Copy link

I get the following error when running it:

Traceback (most recent call last):
File "D:\Projects\Python Projects\asynctwitch-master\bot.py", line 25, in
@say.subcommand('this')
File "D:\Projects\Python Projects\asynctwitch-master\asynctwitch\dataclasses.py", line 498, in subcommand
return SubCommand(self, *args, **kwargs)
TypeError: init() missing 1 required positional argument: 'desc'

@richarvey
Copy link

If you are using the example change the line from

@say.subcommand('this')

to

@say.subcommand('this', desc='sub command')

@Martmists-GH
Copy link
Owner

This entire project will be rewritten, expect the framework to disappear. Instead, see if projects like Sailor can be used. I'm willing to accept PRs addressing this after the rewrite.

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

No branches or pull requests

3 participants