Fixed info without ping.

pull/84/head
Who? 2025-01-29 11:40:44 +10:00 committed by GitHub
commit 11d6a7a9d5
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):