Skip to content

Cowsay#699

Closed
Kronifer wants to merge 44 commits into
python-discord:mainfrom
Kronifer:cowsay
Closed

Cowsay#699
Kronifer wants to merge 44 commits into
python-discord:mainfrom
Kronifer:cowsay

Conversation

@Kronifer
Copy link
Copy Markdown
Contributor

@Kronifer Kronifer commented Apr 20, 2021

Relevant Issues

Closes #667

Description

Added Cowsay command using the cowsay module

Reasoning

I used a pre-existing module, because a lot of the work had already really been done for me that way

Screenshots

cowsay

Additional Details

ASCII art breaks on mobile for some reason

Did you:

  • Join the Python Discord Community?
  • If dependencies have been added or updated, run pipenv lock?
  • Lint your code (pipenv run lint)?
  • Set the PR to allow edits from contributors?

@Kronifer Kronifer requested a review from Akarys42 as a code owner April 20, 2021 21:37
Copy link
Copy Markdown
Contributor

@doublevcodes doublevcodes left a comment

Choose a reason for hiding this comment

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

One pointer:

  • What happens if the user enters a character that isn't supported? Add some sort of error for this.

Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
Kronifer and others added 5 commits April 20, 2021 16:54
Co-authored-by: Vivaan Verma <54081925+doublevcodes@users.noreply.github.com>
Co-authored-by: Vivaan Verma <54081925+doublevcodes@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@ToxicKidz ToxicKidz left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! This looks pretty good to me, just one comment. Will test this later.

Comment thread bot/exts/evergreen/cowsay.py Outdated
@Kronifer
Copy link
Copy Markdown
Contributor Author

@doublevcodes resolved the errors

Copy link
Copy Markdown
Contributor

@janine9vn janine9vn left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! I have some minor recommendations to make this command a bit more robust to user input. Otherwise the command is fun and simple, so the rest of my review will focus on the overall contribution process and things to keep in mind for the future.

Commit messages!
Commit messages are hugely important in the review process and also looking back if we're curious why a command was coded a specific way. I'd recommend adding reasoning as to why you're add/removing/changing how something works.

For instance you have a commit that remove a for loop. I don't know why it was there originally or why it was removed. Having that information would be useful. It would also be useful for the commit where you removed trex from the documentation. I'm not sure why you removed it from the documentation although I imagine it has something to do with the fact that it's very likely to generate a response too large for discord to post.

Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
Copy link
Copy Markdown
Contributor

@Shivansh-007 Shivansh-007 left a comment

Choose a reason for hiding this comment

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

Could you explain why you removed Trex from the documentation in commit 2a58874.

Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
@Xithrius Xithrius added area: backend Related to internal functionality and utilities season: evergreen status: needs review Author is waiting for someone to review and approve type: feature Relating to the functionality of the application. labels Apr 22, 2021
Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
@Xithrius Xithrius added status: waiting for author Waiting for author to address a review or respond to a comment and removed status: needs review Author is waiting for someone to review and approve labels Apr 24, 2021
@Kronifer
Copy link
Copy Markdown
Contributor Author

@janine9vn ive resolved the changes you requested.

Copy link
Copy Markdown
Contributor

@Shivansh-007 Shivansh-007 left a comment

Choose a reason for hiding this comment

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

Alright, few more nitpicks

Comment thread bot/exts/evergreen/cowsay.py Outdated
Comment thread bot/exts/evergreen/cowsay.py Outdated
@Xithrius
Copy link
Copy Markdown
Contributor

Xithrius commented Jul 31, 2021

@Kronifer what's your status for this PR?

Copy link
Copy Markdown
Contributor

@brad90four brad90four left a comment

Choose a reason for hiding this comment

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

A small question / suggestion for sending the user the character that raised the un-supported character error.

Comment thread bot/exts/evergreen/cowsay.py Outdated
@Kronifer
Copy link
Copy Markdown
Contributor Author

@Xithrius so sorry, I've been caught up in stuff but I'll be getting back to this shortly

Kronifer and others added 4 commits August 12, 2021 18:08
Co-authored-by: Shivansh-007 <shivansh-007@outlook.com>
Co-authored-by: Shivansh-007 <shivansh-007@outlook.com>
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
Co-authored-by: brad90four <42116429+brad90four@users.noreply.github.com>
@Xithrius
Copy link
Copy Markdown
Contributor

@Xithrius so sorry, I've been caught up in stuff but I'll be getting back to this shortly

No problem. Remember to solve the conflicts in poetry.lock!

@Kronifer
Copy link
Copy Markdown
Contributor Author

Alright, resolved that

@Kronifer Kronifer requested a review from ToxicKidz August 17, 2021 15:41
@Xithrius
Copy link
Copy Markdown
Contributor

There seems to be some linting errors as well. Run poetry run task lint to see what they are on your end in the repository, and run poetry run task precommit to make sure everything is correct before anything is committed.

Copy link
Copy Markdown

@ventaquil ventaquil left a comment

Choose a reason for hiding this comment

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

Generally looks fine for me.

@Kronifer
Copy link
Copy Markdown
Contributor Author

@ToxicKidz please re-review

Copy link
Copy Markdown
Contributor

@Akarys42 Akarys42 left a comment

Choose a reason for hiding this comment

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

Hey @Kronifer, first thanks a lot for all the time you are putting into this PR.

It has come to our attention that the package you added, cowsay, is licensed under GPL, which isn't compatible with the MIT license. We need to remove that package and replace it with something else.

One solution could be to copy the animals from an R clone which is licensed under MIT. We will let you solve this the way you want!

@wookie184 wookie184 added status: waiting for author Waiting for author to address a review or respond to a comment and removed status: needs review Author is waiting for someone to review and approve labels Aug 30, 2021
@Xithrius Xithrius added category: fun Related to fun and games and removed category: evergreen labels Sep 6, 2021
@Kronifer
Copy link
Copy Markdown
Contributor Author

Kronifer commented Sep 8, 2021

I've returned to school, so this may take longer than anticipated. I'll try and get it done soon!

@Kronifer
Copy link
Copy Markdown
Contributor Author

I'm putting this on pause until I have .quack done

@Xithrius
Copy link
Copy Markdown
Contributor

Xithrius commented Oct 7, 2021

I'm putting this on pause until I have .quack done

@Kronifer .quack has been merged. Can you finish up this PR? Also, there seems to be a singular file conflict with poetry.lock. Please fix that up.

@Kronifer
Copy link
Copy Markdown
Contributor Author

Kronifer commented Oct 7, 2021

@Xithrius thanks for reminding me that this exists, I'll get on it soon

@Xithrius Xithrius added status: needs review Author is waiting for someone to review and approve and removed status: waiting for author Waiting for author to address a review or respond to a comment labels Oct 7, 2021
@Kronifer Kronifer closed this Oct 8, 2021
@Kronifer Kronifer deleted the cowsay branch October 8, 2021 18:40
@Xithrius Xithrius removed the status: needs review Author is waiting for someone to review and approve label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend Related to internal functionality and utilities category: fun Related to fun and games type: feature Relating to the functionality of the application.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Cowsay Command

10 participants