Skip to content

Commit

Permalink
Merge pull request #9 from t3tra-dev/patch-2
Browse files Browse the repository at this point in the history
link_embedder.pyアプデ by Vex
  • Loading branch information
Syunngiku0402 authored Sep 13, 2024
2 parents 8c575f1 + 91e96ab commit 85194f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cogs/link_embedder.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ async def on_message(self, message: discord.Message):
if message.guild.id != guild_id:
# 現在のサーバー以外のリンクには反応しない
return

# 宣伝チャンネルを除外
if channel_id in [775004819004981258]:
return

try:
# リンク先のメッセージオブジェクトを取得
Expand Down

0 comments on commit 85194f9

Please sign in to comment.