mirror of
https://github.com/Lilac-Rose/Lacie.git
synced 2026-07-22 02:21:33 -05:00
removed the pinging thing
This commit is contained in:
parent
bc99f2c3b5
commit
b84acd0c93
|
|
@ -9,7 +9,6 @@ from dotenv import load_dotenv
|
|||
load_dotenv()
|
||||
|
||||
COMMIT_CHANNEL_IDS = [876777562599194644, 1437941632849940563, 1424145004976275617]
|
||||
USER_ID_TO_PING = 771709136051372032
|
||||
WEBHOOK_SECRET = os.getenv("GITHUB_WEBHOOK_SECRET", "")
|
||||
WEBHOOK_PORT = int(os.getenv("WEBHOOK_PORT", 5000))
|
||||
|
||||
|
|
@ -165,7 +164,7 @@ class GitWebhook(commands.Cog):
|
|||
# Send to all Discord channels
|
||||
for channel in channels:
|
||||
try:
|
||||
await channel.send(f"<@{USER_ID_TO_PING}>", embed=embed)
|
||||
await channel.send(embed=embed)
|
||||
except Exception as e:
|
||||
print(f"❌ Failed to send to channel {channel.id}: {e}")
|
||||
|
||||
|
|
@ -226,7 +225,7 @@ class GitWebhook(commands.Cog):
|
|||
# Send to all Discord channels
|
||||
for channel in channels:
|
||||
try:
|
||||
await channel.send(f"<@{USER_ID_TO_PING}>", embed=embed)
|
||||
await channel.send(embed=embed)
|
||||
except Exception as e:
|
||||
print(f"❌ Failed to send to channel {channel.id}: {e}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user