mirror of
https://github.com/alterware/aw-bot.git
synced 2026-10-11 13:31:26 +00:00
Compare commits
11
Commits
6565993e7f
...
765bc1475a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
765bc1475a | ||
|
|
ca4b67f18d | ||
|
|
8f9a57d52c | ||
|
|
270d6aa9b1 | ||
|
|
fc0fee1a9a | ||
|
|
f507d908a3 | ||
|
|
da5aecc342
|
||
|
|
ccc6b0bc6f | ||
|
|
eb248fd63d | ||
|
|
ea8cff85ed | ||
|
|
38c6862d35 |
No files matched your search
@@ -19,19 +19,19 @@ jobs:
|
||||
lfs: true
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v4.1.0
|
||||
uses: docker/setup-qemu-action@v4.2.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v4.1.0
|
||||
uses: docker/setup-buildx-action@v4.3.0
|
||||
|
||||
- name: Log in to DockerHub
|
||||
uses: docker/login-action@v4.2.0
|
||||
uses: docker/login-action@v4.6.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USER }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- id: meta
|
||||
uses: docker/metadata-action@v6.1.0
|
||||
uses: docker/metadata-action@v6.2.0
|
||||
with:
|
||||
images: |
|
||||
alterware/aw-bot
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: build-and-push
|
||||
uses: docker/build-push-action@v7.2.0
|
||||
uses: docker/build-push-action@v7.3.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
@@ -30,7 +30,6 @@ MW3_CHANNEL = 1145459504436220014
|
||||
GHOST_CHANNEL_ID = 1145469106133401682
|
||||
AW_CHANNEL_ID = 1145469136919613551
|
||||
DEPRECATED_SUPPORT_CHANNELS = [
|
||||
GHOST_CHANNEL_ID,
|
||||
AW_CHANNEL_ID,
|
||||
MW2_CHANNEL,
|
||||
MW3_CHANNEL,
|
||||
@@ -117,7 +116,7 @@ async def handle_deprecated_support_channel(message):
|
||||
now = aware_utcnow()
|
||||
if (
|
||||
deprecated_support_last_response_time is None
|
||||
or now - deprecated_support_last_response_time >= timedelta(minutes=60)
|
||||
or now - deprecated_support_last_response_time >= timedelta(minutes=180)
|
||||
):
|
||||
deprecated_support_last_response_time = now
|
||||
await message.reply(
|
||||
|
||||
Reference in new issue
Block a user