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

Refactor and Enhance the 'anime' Command #157

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

DhanushNehru
Copy link
Contributor

Changes Made:

Refactored and improved the existing 'anime' command to enhance readability and maintainability.
Added comments for code clarity and documentation.
Improved error handling to provide meaningful messages in case of no anime found or errors.
Limited the length of the anime name to prevent potential issues.
Test Plan:

Tested the 'anime' command with various inputs, including valid and invalid anime names.
Verified that the loading message is displayed while fetching data and then removed when the anime information is ready.
Checked that the provided information is displayed in an organized and visually appealing embed format.
Additional Information:

This PR is part of an ongoing effort to enhance the functionality and user experience of the Discord bot.

Copy link

sonarcloud bot commented Oct 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@DeltaCoderr DeltaCoderr merged commit cfb3ae5 into DeltaCoderr:Rewrite-djsv14 Oct 31, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants