hikariatama / Hikka

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

Hikka Bugs #38

Closed anon97945 closed 1 year ago

anon97945 commented 2 years ago

🔮 Version: 1.1.24 #3453fb98

anon97945 commented 2 years ago
anon97945 commented 2 years ago
hikariatama commented 2 years ago

Config page won't update after putting value on anonymous user

Can't be fixed. Message has an attribute out, which determines if Anonymous message was sent by owner, but chosen inline query does not. Ergo you can't determine, whether this result was sent by owner

anon97945 commented 2 years ago
hikariatama commented 2 years ago
  • [x] db.set creates database under "name" while config is saved under <classname> change to use only classnames instead having 2 database entries for one module. Also names change, classnames won't.

Actually, bound method _set does. I'll think about this in the nearest future, but it's probably not the matter for the next update, as modules' names aren't changed that often

ghost commented 2 years ago
anon97945 commented 2 years ago
anon97945 commented 2 years ago
anon97945 commented 2 years ago

🚫 Error:

🪐 Full stack:

👉 :59 in ecmd 👉 init.py:86 in meval r = await locs"tmp" 👉 :6 in tmp 👉 message.py:2986 in delete return await self.bot.delete_message(self.chat.id, self.message_id) 👉 base.py:161 in bot raise RuntimeError("Can't get bot instance from context. "

😵 RuntimeError: Can't get bot instance from context. You can fix it with setting current instance: 'Bot.set_current(bot_instance)'

anon97945 commented 2 years ago