hikariatama / Hikka

The most fresh and updateable developer-oriented Telegram userbot
https://hikka.pw
GNU Affero General Public License v3.0
315 stars 506 forks source link

UnitHeta does not open the inline form properly #119

Closed logopek closed 10 months ago

logopek commented 10 months ago

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:

hikariatama commented 10 months ago

UnitHeta will be completely reworked in the upcoming update

hikariatama commented 10 months ago

Resolved in https://github.com/hikariatama/Hikka/commit/f23e09a594b186ac1bbc9dd8ea018702ef04d6e9