mirror of https://github.com/coddrago/Heroku
Some fixes
parent
93e44db8e7
commit
c0a101bdc2
|
@ -376,7 +376,7 @@ class CommandDispatcher:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
async def watcher_exc(self, e, message) -> None:
|
async def watcher_exc(self, e, message) -> None:
|
||||||
logging.exception(f"Error running watcher")
|
logging.exception("Error running watcher")
|
||||||
|
|
||||||
async def handle_incoming(self, event):
|
async def handle_incoming(self, event):
|
||||||
"""Handle all incoming messages"""
|
"""Handle all incoming messages"""
|
||||||
|
|
|
@ -179,7 +179,7 @@ class Form(InlineUnit):
|
||||||
|
|
||||||
self._forms[form_uid]["chat"] = utils.get_chat_id(m)
|
self._forms[form_uid]["chat"] = utils.get_chat_id(m)
|
||||||
self._forms[form_uid]["message_id"] = m.id
|
self._forms[form_uid]["message_id"] = m.id
|
||||||
if isinstance(message, Message):
|
if isinstance(message, Message) and message.out:
|
||||||
await message.delete()
|
await message.delete()
|
||||||
|
|
||||||
if not any(
|
if not any(
|
||||||
|
|
Loading…
Reference in New Issue