Skip to content

Conversation

@coder2020official
Copy link
Collaborator

@coder2020official coder2020official commented Jan 2, 2025

January 1, 2025
Bot API 8.2

@coder2020official
Copy link
Collaborator Author

@Badiboy done with the bot api, you can start reviewing

media_dict = input_media.to_dict()
if media_dict['media'].startswith('attach://'):
key = media_dict['media'].replace('attach://', '')
files[key] = input_media.media
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the reason for removing this code?

:return: Returns True on success.
:rtype: :obj:`bool`
"""
return await asyncio_helper.verify_user(self.token, user_id, custom_description)
Copy link
Collaborator

Choose a reason for hiding this comment

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

May be it's time to start sending optional parameters as named?

media_dict = input_media.to_dict()
if media_dict['media'].startswith('attach://'):
key = media_dict['media'].replace('attach://', '')
files[key] = input_media.media
Copy link
Collaborator

Choose a reason for hiding this comment

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

The same here: what is the reason for removing this code?

# Versions should comply with PEP440.
# This line is parsed in setup.py:
__version__ = '4.25.0'
__version__ = '4.24.0'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Version downgraded.

@Badiboy
Copy link
Collaborator

Badiboy commented Jan 3, 2025

Looks like you made PR not from the recent version...

@coder2020official
Copy link
Collaborator Author

@Badiboy sorry for that, it did not somehow show up on the changelog for me.
Fixed all addressed issues

@Badiboy
Copy link
Collaborator

Badiboy commented Jan 3, 2025

Thank you!

Release?

@Badiboy Badiboy merged commit a9d4e8b into eternnoir:master Jan 3, 2025
7 checks passed
@coder2020official
Copy link
Collaborator Author

Yes

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.

2 participants