Update heroku_info.py

pull/163/head
Who? 2025-07-12 13:36:44 +07:00 committed by GitHub
parent 049c9746d9
commit 1c85c72e7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -285,13 +285,12 @@ class HerokuInfoMod(loader.Module):
await utils.answer_file(
message,
self._get_info_photo(start),
reply_to=getattr(message, "reply_to_msg_id", None),
file = self.config["banner_url"],
)
elif self.config["custom_message"] is None:
await message.edit(
self._render_info(start),
file = self.config["banner_url"],
reply_to=getattr(message, "reply_to_msg_id", None),
)
else:
if '{ping}' in self.config["custom_message"]: