mirror of
https://github.com/MuRuLOSE/limoka.git
synced 2026-06-17 14:54:18 +02:00
Compare commits
5 Commits
update-sub
...
update-sub
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f14a99c640 | ||
|
|
c76dcc0fc1 | ||
| 51bbb98711 | |||
| edd70ad020 | |||
|
|
2c33b08ea0 |
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@@ -209,16 +209,14 @@ jobs:
|
||||
|
||||
notify_diffs:
|
||||
runs-on: ubuntu-latest
|
||||
if: |
|
||||
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
|
||||
(github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
needs: parse
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: ${{ env.GIT_DEPTH }}
|
||||
- name: Configure Git for github-actions[bot]
|
||||
fetch-depth: 0
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
@@ -226,15 +224,18 @@ jobs:
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.9'
|
||||
- name: Install Python dependencies
|
||||
- name: Install dependencies
|
||||
run: pip install aiohttp
|
||||
- name: Send module diffs to channel
|
||||
env:
|
||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID_UPDATE }}
|
||||
run: |
|
||||
git fetch origin main
|
||||
python3 update_diffs.py --token ${{ secrets.TELEGRAM_BOT_TOKEN }} --chat_id ${{ secrets.TELEGRAM_CHAT_ID_UPDATE }} --base_commit HEAD~1
|
||||
LAST_COMMIT_MESSAGE=$(git log -1 --pretty=%B)
|
||||
if [[ "$LAST_COMMIT_MESSAGE" == Merge* ]]; then
|
||||
python3 update_diffs.py --token ${{ secrets.TELEGRAM_BOT_TOKEN }} --chat_id ${{ secrets.TELEGRAM_CHAT_ID_UPDATE }} --base_commit HEAD~1
|
||||
fi
|
||||
|
||||
|
||||
backup:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -23,4 +23,4 @@ class K(loader.Module):
|
||||
"""K"""
|
||||
raise Exception("Testing error handling")
|
||||
await utils.answer(message, "K")
|
||||
# why FUCK YOU BILL GATES
|
||||
# why FUCK YOU BILL GATES ЛЛЛЛ
|
||||
|
||||
@@ -38599,7 +38599,7 @@
|
||||
"sgamerps": "- Start the game «Rock, Paper, Scissors» | (RU) - Начать игру «Камень, ножницы, бумага» | (UZ) - «Tosh, qog'oz, qaychi» o'yinining boshlanishi | (DE) - Beginn des Spiels «Stein, Papier, Schere» | (ES) - El comienzo del juego «Piedra, papel o tijera»"
|
||||
},
|
||||
{
|
||||
"cleargames": "- Complete all running games. | (RU) <ast.JoinedStr object at 0x7fbb1a2376a0> | (UZ) - Barcha faol o'yinlarni tugatish. | (DE) - Alle aktiven Spiele beenden. | (ES) - Completar todos los juegos en curso."
|
||||
"cleargames": "- Complete all running games. | (RU) <ast.JoinedStr object at 0x7f295293b6a0> | (UZ) - Barcha faol o'yinlarni tugatish. | (DE) - Alle aktiven Spiele beenden. | (ES) - Completar todos los juegos en curso."
|
||||
}
|
||||
],
|
||||
"new_commands": [
|
||||
@@ -38625,7 +38625,7 @@
|
||||
"original_name": "cleargames",
|
||||
"description": {
|
||||
"default": "- Complete all running games.",
|
||||
"ru": "<ast.JoinedStr object at 0x7fbb1a2376a0>",
|
||||
"ru": "<ast.JoinedStr object at 0x7f295293b6a0>",
|
||||
"uz": "- Barcha faol o'yinlarni tugatish.",
|
||||
"de": "- Alle aktiven Spiele beenden.",
|
||||
"es": "- Completar todos los juegos en curso."
|
||||
@@ -80996,6 +80996,6 @@
|
||||
},
|
||||
"meta": {
|
||||
"total_modules": 1011,
|
||||
"generated_at": "2026-01-30T11:50:33.137745"
|
||||
"generated_at": "2026-01-30T11:59:36.555357"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user