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

UnitHeta does not open the inline form properly #119

Closed
logopek opened this issue Oct 5, 2023 · 2 comments
Closed

UnitHeta does not open the inline form properly #119

logopek opened this issue Oct 5, 2023 · 2 comments
Labels
bug Something isn't working as intended minor If you think, that something's wrong, but not sure what exactly, use this badge

Comments

@logopek
Copy link

logopek commented Oct 5, 2023

This bug is related to Hikka userbot itself. It is not related to modules.

Describe the bug
UnitHeta crashes when special words in argument
To Reproduce

  1. Type command "heta exit" or "heta block"

Expected behavior
UnitHeta find module with any mention of this word
Logs

  File "/home/y/Hikka/hikka/dispatcher.py", line 698, in future_dispatcher
    await func(message)
  File "<core hikka.modules.unit_heta>", line 187, in hetacmd
    message_id, peer, _, _ = resolve_inline_message_id(form.inline_message_id)
AttributeError: 'bool' object has no attribute 'inline_message_id'

Userbot installation info:

  • Platform:

  • [ +] 🌺 Other platform (Ubuntu WSL2)

  • Hikka version:
    1.6.3 #ce1f24f
    Hikka-TL: 2.0.4 #158
    Hikka-Pyro: 2.0.103 #158

@logopek logopek added the bug Something isn't working as intended label Oct 5, 2023
@hikariatama
Copy link
Owner

UnitHeta will be completely reworked in the upcoming update

@hikariatama hikariatama added minor If you think, that something's wrong, but not sure what exactly, use this badge in work This issue is now being solved by author labels Oct 5, 2023
@hikariatama hikariatama changed the title UnitHeta crashes when try to hand over special argument UnitHeta does not open the inline form properly Oct 5, 2023
@hikariatama hikariatama removed the in work This issue is now being solved by author label Oct 29, 2023
hikariatama added a commit that referenced this issue Oct 29, 2023
- Completely remove Dragon support as redundant
- Fix request_join error
- Decrease module info length in heta
- Add privacy switch to `UnitHeta`
- Add HikkaHost as a platform
- Update to Hikka-TL 2.0.6
- Allow double-restart
- #115
- #114
- #119
- #120
- Other changes
@hikariatama
Copy link
Owner

Resolved in f23e09a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended minor If you think, that something's wrong, but not sure what exactly, use this badge
Projects
None yet
Development

No branches or pull requests

2 participants