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

feat: Add commands for duck GIFs, pictures, facts and jokes #31

Merged

Conversation

nathhuynh
Copy link
Collaborator

Description

This pull request introduces fun duck-related commands to the bot. It provides users with commands for displaying random duck GIFs, pictures, facts and jokes.

Changes Made

Added new commands:

  • /duck gif: Fetches and displays a random duck GIF using the Tenor API.
  • /duck pic: Fetches and displays a random duck picture using the random-d.uk API.
  • /duck fact: Shares a random duck fact from a curated list.
  • /duck joke: Tells a random duck-related joke from a curated list.

Related Issues

[Feature Request] Duck-related commands #9

Additional Notes

Commands for duck memes, trivia and races are yet to be implemented.

@phoenixpereira
Copy link
Member

Please run poetry run black . to fix the formatting issues.

@phoenixpereira phoenixpereira added the enhancement New feature or request label Aug 5, 2024
src/commands/duckrelated.py Outdated Show resolved Hide resolved
src/commands/duckrelated.py Outdated Show resolved Hide resolved
.example.env Outdated Show resolved Hide resolved
src/commands/duckrelated.py Outdated Show resolved Hide resolved
Copy link
Contributor

@rayokamoto rayokamoto left a comment

Choose a reason for hiding this comment

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

One small change, otherwise looks good to me.

src/utils/tenor_utils.py Outdated Show resolved Hide resolved
@CrageJ
Copy link
Contributor

CrageJ commented Aug 10, 2024

Be aware folder/program structure changed significantly with this merge #32.

@rayokamoto rayokamoto requested review from rayokamoto and removed request for jsun969 August 15, 2024 10:29
@phoenixpereira phoenixpereira merged commit b3f330d into compsci-adl:main Aug 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants