finnaly updated all avatars and banners

pull/160/head
Who? 2025-07-04 05:35:21 +00:00
parent 88a0116788
commit 7ba2638956
14 changed files with 11 additions and 16 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

View File

@ -116,7 +116,7 @@ class Database(dict):
"heroku-assets",
"🌆 Your Heroku assets will be stored here",
archive=True,
avatar="https://raw.githubusercontent.com/coddrago/Heroku/dev-test/assets/heroku-assets.png"
avatar="https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku_assets.png"
)
except ChannelsTooMuchError:
self._assets = None

View File

@ -79,10 +79,7 @@ class TokenObtainment(InlineUnit):
await fw_protect()
from .. import main
if "DOCKER" in os.environ():
m = await conv.send_file("https://raw.githubusercontent.com/coddrago/Heroku/refs/heads/master/assets/heroku-ava.png")
else:
m = await conv.send_file(main.BASE_PATH / "assets" / "heroku-ava.png")
m = await conv.send_file("https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku.png")
r = await conv.get_response()
logger.debug(">> <Photo>")
@ -230,9 +227,7 @@ class TokenObtainment(InlineUnit):
await fw_protect()
from .. import main
m = await conv.send_file(
main.BASE_PATH / "assets" / "heroku-ava.png"
)
m = await conv.send_file("https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku.png")
r = await conv.get_response()
logger.debug(">> <Photo>")

View File

@ -334,7 +334,7 @@ test:
configping: "Ihr benutzerdefinierter Text. Platzhalter können verwendet werden: {ping} - Ihr Ping, {uptime} - Ihre Uptime, {ping_hint} - Hinweis. Sie können den Platzhaltername {hostname} verwenden, wenn Sie den Hostname Ihres Servers benötigen"
hint: "Geben Sie einen Hinweis an"
ping_emoji: "Emoji, das bei einer leichten Ping-Erhöhung angezeigt wird."
banner_url: "Bild für Ihren Ping, zum Beispiel: https://imgur.com/a/dsh7Fvb.png"
banner_url: "Bild für Ihren Ping, zum Beispiel: https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/ping_cmd.png"
logs_caption: "<emoji document_id=5350594756126721186>🪐</emoji> <b>Heroku-Logs des Levels</b> <code>{}</code>\n\n<emoji document_id=5228879218363872764>⚪️</emoji> <b>Version: {}.{}.{}</b>{}"
debugging_enabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Der Entwicklermodus wurde für das Modul</b> <code>{0}</code> <b>aktiviert</b>\n<i>Gehe zum Ordner `debug_modules`, ändere die Datei `{0}.py` und beobachte die Änderungen in Echtzeit</i>"
debugging_disabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Der Entwicklermodus wurde deaktiviert</b>"

View File

@ -361,7 +361,7 @@ test:
configping: "Your custom text. You can use placeholders: {ping} - That's your ping. {uptime} - It's your uptime. {ping_hint} - This is the same hint as in the heroku module, it is chosen with random chance, also you can specify this hint in the config. You can use the {hostname} placeholder if you need the hostname of your server"
hint: "Set a hint"
ping_emoji: "Emoji that appears when ping does not increase significantly"
banner_url: "Image for your ping, for example: https://imgur.com/a/dsh7Fvb.png"
banner_url: "Image for your ping, for example: https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/ping_cmd.png"
logs_caption: "<emoji document_id=5350594756126721186>🪐</emoji> <b>Heroku logs with verbosity</b> <code>{}</code>\n\n<emoji document_id=5228879218363872764>⚪️</emoji> <b>Version: {}.{}.{}</b>{}"
suspend_invalid_time: "<emoji document_id=5210952531676504517>🚫</emoji> <b>Invalid time to suspend</b>"
suspended: "<emoji document_id=5452023368054216810>🥶</emoji> <b>Bot suspended for {}</b>"

View File

@ -334,7 +334,7 @@ test:
configping: "Ваш кастомный текст. Вы можете использовать плейсхолдеры: {ping} - Это ваш пинг, {uptime} - Это ваш аптайм, {ping_hint} - подсказка. Вы можете использовать плейсхолдер {hostname} если вам нужен hostname вашего сервера"
hint: "Укажите подсказку"
ping_emoji: "Эмодзи которое появляется при не значительном росте пинга."
banner_url: "Картинка для вашего пинга, для примера: https://imgur.com/a/dsh7Fvb.png"
banner_url: "Картинка для вашего пинга, для примера: https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/ping_cmd.png"
logs_caption: "<emoji document_id=5350594756126721186>🪐</emoji> <b>Логи Heroku уровня</b> <code>{}</code>\n\n<emoji document_id=5228879218363872764>⚪️</emoji> <b>Версия: {}.{}.{}</b>{}"
debugging_enabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Режим разработчика включен для модуля</b> <code>{0}</code>\n<i>Отправляйся в директорию `debug_modules`, изменяй файл `{0}.py`, и смотри изменения в режиме реального времени</i>"
debugging_disabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Режим разработчика выключен</b>"

View File

@ -334,7 +334,7 @@ test:
configping: "Ваш текст. Ви можете використовувати заміщення: {ping} - Це ваш пінг, {uptime} - Це ваш час роботи. {ping_hint} - Це той самий підказка, що й у модулі heroku, вона вибирається випадково, також ви можете вказати цю підказку у конфігурації. Ви можте використовувати плейсхолдер {hostname} якщо вам потрібен hostname вашого сервера"
hint: "Встановіть підказку"
ping_emoji: "Емоджі, який з'являється, коли пінг не збільшується суттєво"
banner_url: "Картинка для вашого пінгу, наприклад: https://imgur.com/a/dsh7Fvb.png"
banner_url: "Картинка для вашого пінгу, наприклад: https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/ping_cmd.png"
logs_caption: "<emoji document_id=5350594756126721186>🪐</emoji> <b>Логи Heroku рівня</b> <code>{}</code>\n\n<emoji document_id=5228879218363872764>⚪️</emoji> <b>Версія: {}.{}.{}</b>{}"
debugging_enabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Режим розробника увімкнено для модуля</b> <code>{0}</code>\n<i>Прямуй до директорії `debug_modules`, змінюй файл `{0}.py`, и смотри изменения в режиме реального времени</i>"
debugging_disabled: "<emoji document_id=5332533929020761310>✅</emoji> <b>Режим розробника вімкнено</b>"

View File

@ -40,7 +40,7 @@ class HerokuBackupMod(loader.Module):
if not self.get("period"):
await self.inline.bot.send_photo(
self.tg_id,
photo="https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/unit_alpha.png",
photo="hhttps://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/unit_alpha.png",
caption=self.strings("period"),
reply_markup=self.inline.generate_markup(
utils.chunks(
@ -72,7 +72,7 @@ class HerokuBackupMod(loader.Module):
"📼 Your database backups will appear here",
silent=True,
archive=True,
avatar="https://raw.githubusercontent.com/coddrago/Heroku/dev-test/assets/heroku-backups.png",
avatar="https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku_backups.png",
_folder="heroku",
invite_bot=True,
)

View File

@ -46,7 +46,7 @@ class HerokuInfoMod(loader.Module):
loader.ConfigValue(
"banner_url",
"https://imgur.com/a/7LBPJiq.png",
"https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku_info.png",
lambda: self.strings("_cfg_banner"),
),

View File

@ -418,7 +418,7 @@ class TestMod(loader.Module):
"🪐 Your Heroku logs will appear in this chat",
silent=True,
invite_bot=True,
avatar="https://raw.githubusercontent.com/coddrago/Heroku/dev-test/assets/heroku-logs.png",
avatar="https://raw.githubusercontent.com/coddrago/assets/refs/heads/main/heroku/heroku_logs.png",
)
self.logchat = int(f"-100{chat.id}")