fix video url error

This commit is contained in:
mudkipdev
2023-09-29 23:12:52 -06:00
parent 47fb8be77f
commit db081fed8a

View File

@@ -543,7 +543,10 @@ class AnnouncementBuilderView(discord.ui.View):
for channel_id in bot.config.repost_channels:
repost_channel = await bot.fetch_channel(channel_id)
if announcement.video_url:
await repost_channel.send(announcement.video_url)
await repost_channel.send(
embed=await announcement.get_embed(bot=bot, show_author=True)
)