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

The raj71 v1.0 #25

Merged
merged 2 commits into from
Oct 1, 2024
Merged

The raj71 v1.0 #25

merged 2 commits into from
Oct 1, 2024

Conversation

TheRaj71
Copy link
Contributor

@TheRaj71 TheRaj71 commented Oct 1, 2024

This pull request to bot.py includes significant changes to enhance the functionality and user interaction of the cryptocurrency price bot. The most important changes include the introduction of conversation states, new API functions for fetching cryptocurrency data, and restructuring the command and callback query handlers.

Enhancements to functionality:

  • Introduced conversation states MAIN_MENU, CHOOSING_CRYPTO, CHOOSING_CURRENCY, and TYPING_SEARCH to manage different stages of user interaction. (bot.py)
  • Added new API functions get_top_cryptos, get_trending_cryptos, and get_crypto_details to fetch cryptocurrency data from the CoinGecko API. (bot.py)
  • Implemented new command handlers start and help_command to provide a main menu and help message to users. (bot.py)

Restructuring and code improvements:

  • Reorganized the bot's main function to use ConversationHandler for managing different states and user inputs. (bot.py)
  • Replaced old command and message handlers with new ones to support the enhanced functionality and structured user interactions. (bot.py)

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to Our repository.🎊 Thank you so much for taking the time to point this out.

@Harish-2003 Harish-2003 added enhancement New feature or request wob24 this is issue is part of winter of blockchain 2024 level3 labels Oct 1, 2024
@Harish-2003
Copy link
Contributor

Thank you for your contribution

@Harish-2003 Harish-2003 merged commit 69fba19 into OpenTekHub:main Oct 1, 2024
1 check 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 level3 wob24 this is issue is part of winter of blockchain 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants