Skip to content

Commit 7f1a047

Browse files
committed
chore: changed the ping for discord
1 parent 0272407 commit 7f1a047

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ jobs:
196196
uses: thedoctor0/zip-release@master
197197
with:
198198
type: "zip"
199-
filename: Dantotsu_Linux_${{github.ref_name}}.zip
199+
filename: Dartotsu_Linux_${{github.ref_name}}.zip
200200
directory: build/linux/x64/release/bundle
201201
- name: Release Linux Zip
202202
uses: softprops/action-gh-release@master
203203
with:
204-
files: build/linux/x64/release/bundle/Dantotsu_Linux_${{github.ref_name}}.zip
204+
files: build/linux/x64/release/bundle/Dartotsu_Linux_${{github.ref_name}}.zip
205205
build_ios:
206206
runs-on: macos-latest
207207
permissions:
@@ -353,7 +353,7 @@ jobs:
353353
354354
- name: Send message to Discord
355355
env:
356-
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
356+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_RELEASE_URL }}
357357
run: |
358358
default_color="#1ac4c5"
359359
hex_to_decimal() { printf '%d' "0x${1#"#"}"; }
@@ -372,7 +372,7 @@ jobs:
372372
--arg timestamp "$(date -u +%Y-%m-%dT%H:%M:%S.000Z)" \
373373
--argjson embed_color "$embed_color" \
374374
'{
375-
"content": "<@>",
375+
"content": "<@&1298977336124903457>",
376376
"embeds": [
377377
{
378378
"title": "New App Version Dropped 🔥",
@@ -396,9 +396,9 @@ jobs:
396396
397397
- name: Send message to Telegram
398398
env:
399-
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
400-
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
401-
TELEGRAM_TOPIC: ${{ secrets.TELEGRAM_TOPIC }}
399+
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKKEN }}
400+
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHANNEL_ID }}
401+
TELEGRAM_TOPIC: ${{ secrets.TELEGRAM_TOPIC_ANNOUNCEMENT }}
402402
run: |
403403
# Extract Features, Fixes, and Chores into separate files (with cleaning)
404404
echo "**🚀 Features**" > TFeatures.txt
@@ -476,7 +476,7 @@ jobs:
476476
LINKS=$(cat asset_links.txt | sort)
477477
478478
# Initialize the message
479-
MESSAGE="**Dantotsu ${{github.ref_name}} Downloads:**\n\n"
479+
MESSAGE="**Dartotsu ${{github.ref_name}} Downloads:**\n\n"
480480
481481
# Loop through each link and format them
482482
while IFS= read -r LINK; do
@@ -501,7 +501,7 @@ jobs:
501501
echo "MESSAGE=$MESSAGE" >> $GITHUB_ENV
502502
- name: Send message to Discord
503503
env:
504-
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
504+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_RELEASE_URL }}
505505
MESSAGE: ${{ env.MESSAGE }}
506506
run: |
507507
# Send the message to Discord using the webhook
@@ -511,9 +511,9 @@ jobs:
511511
$DISCORD_WEBHOOK_URL
512512
- name: Send message to Telegram
513513
env:
514-
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
515-
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
516-
TELEGRAM_TOPIC: ${{ secrets.TELEGRAM_TOPIC }}
514+
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKKEN }}
515+
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHANNEL_ID }}
516+
TELEGRAM_TOPIC: ${{ secrets.TELEGRAM_TOPIC_ANNOUNCEMENT }}
517517

518518
MESSAGE: ${{ env.MESSAGE }}
519519
run: |

0 commit comments

Comments
 (0)