Skip to content

Commit

Permalink
Merge pull request #261 from mobyw/2.0
Browse files Browse the repository at this point in the history
🐛 修复 BUG - 发送频道报错消息时 API 名称错误
  • Loading branch information
Quan666 authored Mar 3, 2022
2 parents d6510cd + e786112 commit c17a44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/ELF_RSS2/RSS/routes/Parsing/send_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async def send_msg(rss: rss_class.Rss, msg: str, item: dict) -> bool:
except Exception as e:
logger.error(f"E: {repr(e)} 链接:[{item['link']}]")
if item.get("count") == 3:
await bot.send_guild_msg(
await bot.send_guild_channel_msg(
message=f"E: {repr(e)}\n{error_msg}",
guild_id=guild_id,
channel_id=channel_id,
Expand Down

0 comments on commit c17a44e

Please sign in to comment.