Fixed info without ping.

pull/83/head
Desai 2025-01-28 21:23:50 +01:00 committed by GitHub
parent b1c85ac6de
commit bd9a025e7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 0 deletions

View File

@ -175,6 +175,13 @@ class HerokuInfoMod(loader.Module):
self._render_info(False, start),
reply_to=getattr(message, "reply_to_msg_id", None),
)
else:
await utils.answer_file(
message,
self.config["banner_url"],
self.config["custom_message"],
reply_to=getattr(message, "reply_to_msg_id", None),
)
@loader.command()
async def herokuinfo(self, message: Message):