diff --git a/plugins/rss/langs/en.yml b/plugins/rss/langs/en.yml index 940514cf..2c9acc16 100644 --- a/plugins/rss/langs/en.yml +++ b/plugins/rss/langs/en.yml @@ -52,6 +52,6 @@ en: web-help: "To search for an rss feed from any website, just enter the url of the rss/atom feed as a parameter. If the feed is valid, I will return the last article posted on this site" web-invalid: "Oops, this url address is invalid :confused:" yt: "YouTube" - yt-default-flow: "{logo} | New vidéo from {author}: **{title}**\nPublished on {date}\nLink: {link}\n{mentions}" - yt-form-last: "{logo} | ere is the last video of {author}:\n{title}\nPublished on {date}\nLink: {url}" + yt-default-flow: "{logo} | New video from {author}: **{title}**\nPublished on {date}\nLink: {link}\n{mentions}" + yt-form-last: "{logo} | Here is the last video of {author}:\n{title}\nPublished on {date}\nLink: {url}" yt-help: "To search for a youtube channel, you need to enter the id of this channel. You will find it at the end of the url of the channel, it can be either the name or a random sequence of characters" diff --git a/plugins/rss/rss.py b/plugins/rss/rss.py index 7fd8d814..9dfe4f04 100644 --- a/plugins/rss/rss.py +++ b/plugins/rss/rss.py @@ -322,7 +322,7 @@ async def system_add(self, ctx: MyContext, link): ) self.logger.info( "RSS feed added into server %i (%s - %i)", - ctx.guild.ig, + ctx.guild.id, link, feed_id, ) @@ -1524,7 +1524,7 @@ async def check_flow( flow["channel"], ) return False - obj.format = flow["structure"] + obj.message_format = flow["structure"] obj.embed = bool(flow["use_embed"]) if obj.embed: obj.fill_embed_data(flow)