Skip to content

Commit 7bc2853

Browse files
committed
Update dependencies and versioning for release 1.11.1
- Added `zlib-dev` to Dockerfile build dependencies. - Incremented application version to "1.11.1". - Updated bot version in `main.py` to "1.11.11". - Changed logging level for top.gg update failures from `debug` to `error`.
1 parent 2331612 commit 7bc2853

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

WebhookCreator/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG TARGETPLATFORM
1313
ARG BUILD_DATE
1414
ARG COMMIT
1515

16-
RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev libc-dev linux-headers rust cargo g++ && \
16+
RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev libc-dev linux-headers rust cargo g++ zlib-dev && \
1717
apk add curl && \
1818
python -m pip install --root-user-action ignore --upgrade pip && \
1919
pip install --root-user-action ignore --upgrade setuptools && \
@@ -28,7 +28,7 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev python3-dev libc-dev l
2828
LABEL maintainer="Discord: pika.pika.no.mi (970119359840284743)" \
2929
description="Discord bot for managing Webhooks." \
3030
release=$BUILD_DATE \
31-
version="1.11.0" \
31+
version="1.11.1" \
3232
url="https://github.com/Serpensin/DiscordBots-WebhookCreator"
3333

3434
CMD ["python3", "main.py"]

WebhookCreator/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
if not os.path.exists(APP_FOLDER_NAME):
3131
os.makedirs(APP_FOLDER_NAME)
3232
ACTIVITY_FILE = os.path.join(APP_FOLDER_NAME, 'activity.json')
33-
BOT_VERSION = "1.11.0"
33+
BOT_VERSION = "1.11.11"
3434
TOKEN = os.getenv('TOKEN')
3535
OWNERID = os.getenv('OWNER_ID')
3636
SUPPORTID = os.getenv('SUPPORT_SERVER')
@@ -338,7 +338,7 @@ async def topgg():
338338
async with aiohttp.ClientSession() as session:
339339
async with session.post(f'https://top.gg/api/bots/{bot.user.id}/stats', headers=headers, json={'server_count': len(bot.guilds), 'shard_count': len(bot.shards)}) as resp:
340340
if resp.status != 200:
341-
program_logger.debug(f'Failed to update top.gg: {resp.status} {resp.reason}')
341+
program_logger.error(f'Failed to update top.gg: {resp.status} {resp.reason}')
342342
try:
343343
await asyncio.sleep(60*30)
344344
except asyncio.CancelledError:

0 commit comments

Comments
 (0)