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

admin, pronouns, py: argument checking, logging, and better reply on error messages #1953

Merged
merged 3 commits into from
Nov 22, 2020

Conversation

Exirel
Copy link
Contributor

@Exirel Exirel commented Oct 2, 2020

Description

Once #1859 and #1950 implement their part, this will fix #1001

I didn't changed all the reply-on-error messages, because most of them are fine. If someone wants to nitpick, they will be able to do some PR (hey, it's hacktoberfest or something). The most important part was to make sure admin checks command args.

Also I added some

Checklist

  • I have read CONTRIBUTING.md
  • I can and do license this contribution under the EFLv2
  • No issues are reported by make qa (runs make quality and make test)
  • I have tested the functionality of the things this change touches

@Exirel Exirel added Tweak Bugfix Generally, PRs that reference (and fix) one or more issue(s) labels Oct 2, 2020
@Exirel Exirel added this to the 7.1.0 milestone Oct 2, 2020
dgw added a commit that referenced this pull request Oct 2, 2020
Copy link
Member

@dgw dgw left a comment

Choose a reason for hiding this comment

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

This PR was open for *checks notes* 16 days before I finally got around to reviewing it. I suck. 🙈

sopel/modules/admin.py Outdated Show resolved Hide resolved
sopel/modules/admin.py Outdated Show resolved Hide resolved
sopel/modules/admin.py Outdated Show resolved Hide resolved
sopel/modules/pronouns.py Outdated Show resolved Hide resolved
@Exirel Exirel requested a review from dgw October 18, 2020 08:57
Copy link
Member

@dgw dgw left a comment

Choose a reason for hiding this comment

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

I just missed one little thing before, easily cleaned up during your squash of fixups.

sopel/modules/admin.py Outdated Show resolved Hide resolved
Exirel and others added 3 commits October 26, 2020 15:43
Co-authored-by: dgw <dgw@technobabbl.es>
Co-authored-by: dgw <dgw@technobabbl.es>
@Exirel Exirel force-pushed the plugins-argument-checking branch from ed85b02 to 880ca01 Compare October 26, 2020 14:43
@Exirel
Copy link
Contributor Author

Exirel commented Oct 26, 2020

Squashed & rebased.

@dgw dgw merged commit 9bf65bb into sopel-irc:master Nov 22, 2020
@Exirel Exirel deleted the plugins-argument-checking branch May 1, 2021 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix Generally, PRs that reference (and fix) one or more issue(s) Tweak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Half of the user commands lacks argument checking
2 participants